import random


for _ in range(20):
    print(random.randint(1, 6))
