for(;r=readline(n=7);print(n))for(x in r)n-=-"02210313074020029000033739"[r.charCodeAt(x)-97]

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

download

return to the top page