#include <bits/stdc++.h>

using namespace std;
using ll = long long;

int main(){
    cin.tie(nullptr);
    ios_base::sync_with_stdio(false);

    ll N, M, K=1;
    cin >> N;
    M = 1<<N;
    for (int i=0; i<N; i++){
        cout << M*K << " ";
        M >>= 1;
        K = K*2+1;
    }

    cout << endl;

    return 0;
}