//WA check 2 #include using namespace std; #include using namespace atcoder; using ll = long long; using ld = long double; using vi = vector; using vvi = vector; using vll = vector; using vvll = vector; using vld = vector; using vvld = vector; #define fi first #define se second #define pb push_back #define all(a) a.begin(),a.end() #define rep(i,start,end) for(ll i=start;i<(ll)(end);i++) #define per(i,start,end) for(ll i=start;i>=(ll)(end);i--) vll ans(int n){ if(n==3){ return {3,4,8}; } vll res(n),v=ans(n-1); res[0]=v[0]*2-1; rep(i,1,n){ res[i]=v[i-1]*2; } return res; } int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int n; cin>>n; vll r=ans(n); rep(i,0,n){ cout<