j = 0
for i in range(20,81):
if i % 3 == 0:
print(i, end="\t")
j += 1
if j == 5:
print()
j = 0
j = 0
for i in range(20,81):
if i % 3 == 0:
print(i, end="\t")
j += 1
if j == 5:
print()
j = 0