N = int(input()) ans = [] b = 2 ** 23 now = 3 for _ in range(N): ans.append(b * now) b //= 2 now = now * 2 - 1 ans.sort() print(ans[:N])