from heapq import heappush, heappop from itertools import product def main(): N = int(input()) ans = [] for i, j in product(range(N + 1), repeat=2): n2 = 2 ** i n5 = 5 ** j heappush(ans, n2 * n5) [print(heappop(ans)) for _ in range(len(ans))] main()