#include using namespace std; int main() { cout << "20\n"; cout << "1"; for (int i = 1; i < 20; i++) cout << " " << (1 << i); return 0; }