Make menu by clock

n=0
for c in raw_input():n=[n+1,n/2,n*n][ord(c)/5%8];print n

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

download

return top