n=1 while 1:i=input();n^=`n`in`i`and i/9^i%5;print n
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page