n = int(input())
for x in range(1, n * 4, 4):
    print('{} {} {} PUM'.format(x, x + 1, x + 2))

5c253be0cf0c1639b0eb5e54306d0ae1e96ef005
<mask token>

<mask token>
for x in range(1, n * 4, 4):
    print('{} {} {} PUM'.format(x, x + 1, x + 2))

n = int(input())
for x in range(1, n * 4, 4):
    print('{} {} {} PUM'.format(x, x + 1, x + 2))
