for(;n=readline(s=0,w=1e4);print(s))for(i in n)s+=n[i]*w,i%2?w/=10:0
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page