while 1:i=input();print(eval(i.replace(',','+~'))+2*('11'<i))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page