prefix to postfix by niisaka

def f(o):exec"p=a.pop(0)\nif'/'<p<':':print p,\nelse:f(p)\n"*2;print o,
while 1:a=raw_input().split();f(a.pop(0));print

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top