for(;s=readline(i=n=0);print(n))for(;x=s[i++];n*=n!=7)n+=+x
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page