d = [] now = 1 for i in range(25): d.append(2 ** (24 - i) * now) now = 2 * now + 1 n = int(input()) print(*d[:n])