n = int(input()) ans = set() for i in range(n+1): for j in range(n+1): ans.add(2**i * 5**j) for i in sorted(list(ans)): print(i)