#include #define rep(i,n) for(int i = 0; i < (int)(n); i++) using namespace std; using LL = long long; using P = pair; using vv = vector>; const int INF = (int)1e9; const LL LINF = (LL)1e18; int main(){ LL n; cin >> n; LL m = 4294967297LL; cout << m << endl; cout << 1 << endl; return 0; }