r=range(81) for y in r:print''.join(["X "[any(x/s+y/s&1for s in[27,9,3,1])]for x in r])