while 1:print 7+sum(int('02210313074020029000033739'[ord(e)-97])for e in raw_input())
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page