N = int(input()) i=1 while i <= N: N = 316 + (i-1) * 52 print(N)