#include #ifdef LOCAL #include "./debug.cpp" #else #define debug(...) #define print_line #endif using namespace std; using ll = long long; int main() { int N; cin >> N; int now = 1 << N, d = 1 << (N - 1); for (int i = 0; i < N; i++) { cout << now; now += d / 2; d /= 2; if (i < N - 1) cout << ' '; } cout << endl; }