n = int(input()) ANS = [1 << (i + 1) for i in range(n)] print(*ANS)