i=4 for l in(eval("raw_input()*9,"*3)*64)[1:]:print(i%4<3)*l[i/4:][:16];i+=1

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top