N = int(input()) A = [] for i in range(N+1): for j in range(N+1): A.append(2 ** i * 5 ** j) A.sort() for i in A: print(i)