for i in range(int(input())): # wrong answer print(1)