# for i in range(4):
#     print("?", end="")
# print()

# print("?" * 4)

for i in range(3):
    for j in range(3):
        print("#", end="")
    print()

# for i in range(4):
#     print("?", end="")
# print()

# print("?" * 4)

for i in range(3):
    for j in range(3):
        print("#", end="")
    print()

# for i in range(4): #     print("?", end="") # print() # print("?" * 4)