#include using namespace std; using ll = long long; int main(){ int n; cin >> n; vector a(n); a[0] = 1; for(int i = 0; i < n-1; i++) a[i+1] = 2*a[i]; for(int i = 0; i < n; i++) cout << a[i] << " "; cout << endl; return 0; }