#include using namespace std; int main() { int64_t n; cin >> n; int64_t m = (1LL << 30); cout << m << endl; cout << 0 << endl; return 0; }