for x in range(6642):print(end='X \n'[max(x%82//81*2or x%82//3**z%3-x//82//3**z%3&1for z in range(5))])