Make menu by rem

a=readline();for(i=c=0;(k=a[i++])!="q";)print(c=k=="+"?c+1:k=="/"?c/2:c*c)

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

download

return to the top page