# your code goes here

boxes = [
'''
 _ _ _ _ _
|         |
|         |
|   1st   |
|   box   |
|         |
|_ _ _ _ _|
''',
'''
 _ _ _ _ _
|         |
|         |
|   2nd   |
|   box   |
|         |
|_ _ _ _ _|
''',
'''
 _ _ _ _ _
|         |
|         |
|   3rd   |
|   box   |
|         |
|_ _ _ _ _|
''',
# ... .etc
]

lines = [box.splitlines() for box in boxes]
for idx in range(len(lines[0])):
    print('%-20.20s %-20.20s %-20.20s' % (lines[0][idx], lines[1][idx], lines[2][idx]))