while 1:c=input();q=int(c[6:]);print(["%dand x"%~-q,c][q&q-1>0])
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page