4 9 skip numbers by leonid

while 1:
 n=0
 for x in`input()`:n=n*8--int(x)*4/5
 print n

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

download

return to the top page