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