for(;s=readline(m=n=o=0);print("="+m))for(i in s)o+=s[i],o<n||putstr(+o+" ",m+=n=+o,o=0)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page