#include using namespace std; using ll = long long; int main () { int N; cin >> N; ll b = (1ll << N); cout << b; for (int n = N - 1; n; n --) { b += (1ll << n); cout << " " << b; } cout << endl; }