main(i){for(;gets(&i);puts())i=i%4*2-(2>>~-atoi(&i,i>>=8)/15)+49;}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page