i=0\x0d for c in raw_input():\x0d if c=='+':i+=1\x0d elif c=='/':i/=2\x0d elif c=='^':i*=i\x0d else:a\x0d print i
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page