r=reduce while 1:print`r(lambda l,c:[l[1:],l[:-1],[sum(l)],[r(long.__mul__,l,1L)],[x+o for x in l for o in[-1,1]]][ord(c)/2%5],raw_input(),[0])`.replace('L','')
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page