#include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(0);     cin.tie(0);     cout.tie(0);     int64_t k;     cin >> k;     int64_t r = 2, c = 3;     cout << r <<     << c << endl;     int64_t arr[2][3];     int64_t ones = ((int64_t)1 << 18) - 1;     arr[0][0] = ones;     arr[0][1] = ((int64_t)1 << 17);     arr[0][2] = 0;     arr[1][0] = k;     arr[1][1] = ones;     arr[1][2] = k;     for (int64_t i = 0; i < r; i++) {       for (int64_t j = 0; j < c; j++) {         cout << arr[i][j] <<    ;       }       cout << endl;     }     return 0;   }   