while 1:l=b" 0@@@@0"*14;a,b=map(ord,input());print(l[a]*l[b]>>9)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page