#include using namespace std; int main() { int N; cin >> N; while (N--) cout << (1LL << N) << ' '; cout << '\n'; }