while 1:i=input();j=i==2 or i>3;print("%i %i %i\n"*3)%(i>2,0,j,i>5,i%2,i>5,j,0,i>2)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page