# coding:UTF-8 import sys MOD = 10 ** 9 + 7 INF = float('inf') N = int(input()) # 数字 res = [2, 3, 6] for i in range(3, N): res.append(res[-1]*2) print(*res)