#!/usr/bin/env python3
# NOTE: it is recommended to use this even if you don't understand the following code.


# input data
N = int(input().strip())
F = [input().strip() for _ in range(N)] 


# insert your code here
ans = [42] * N


# print the result
print(*ans, sep='\n')
