while 1: s=input() for x in"QRRBBNN":s=s.replace(x,'',1) print(1*(len(s)<9))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page