for(i=0;q=readline();)q>"o"?i*=i%8&&i:q>"j"?print(i):i+=q>"d"||-!!i
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page