#include using namespace std; int main() { int N; cin >> N; long long a = 1; while (--N) { cout << a << ' '; a *= 2; } cout << a << endl; }