while 1: Q=1;R=B=N=2;p=9 for c in input():exec(c+"-=1;p-=0>"+c) print(+(p>0))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page