i = 16
a = 16
while i<25:
print(f"{a} {a-0.5} {a+0.8}")
a = a+1
i += 1
x = 16
while x <= 24:
print(x,x-0.5,x+0.8)
x += 1
i = 16
a = 16
while i<25:
print(f"{a} {a-0.5} {a+0.8}")
a = a+1
i += 1
x = 16
while x <= 24:
print(x,x-0.5,x+0.8)
x += 1