#!/usr/bin/env python3
n = int(input())
for i in range(0, 4):
    for j in range(1, n + 1):
        a = ('+___', '|' + str(j) + ' /', '|__\\', '|   ')
        print(a[i], end=' ')
    print()

b8f7ea21f0de6441bee8398470126f7bc0014722
<mask token>

<mask token>
for i in range(0, 4):
    for j in range(1, n + 1):
        a = '+___', '|' + str(j) + ' /', '|__\\', '|   '
        print(a[i], end=' ')
    print()

n = int(input())
for i in range(0, 4):
    for j in range(1, n + 1):
        a = '+___', '|' + str(j) + ' /', '|__\\', '|   '
        print(a[i], end=' ')
    print()

#!/usr/bin/env python3
n = int(input())
for i in range(0, 4):
    for j in range(1, n + 1):
        a = ('+___', '|' + str(j) + ' /', '|__\\', '|   ')
        print(a[i], end=' ')
    print()
