n = int(input()) ans = sorted([2**i * 5**j for i in range(n + 1) for j in range(n + 1)]) for x in ans: print(x)