N = int(input()) ans = [] for a in range(N + 1): for b in range(N + 1): ans.append(2 ** a * 5 ** b) ans.sort() for a in ans: print(a)