#include using namespace std; using ll = long long; int N; int A[33]; int main(void){ ios::sync_with_stdio(false); cin.tie(nullptr); cin >> N; for(int i = N - 1;i >= 0;i--){ cout << (1 << i) << " \n"[i == 0]; } return 0; }