#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, m, i, j, k, x, y, t;
  long long a;
  cin >> a;
  n = 2 * a - 1;
  m = 2;
  cout << n << " " << m << endl;
  cout << 1 << " " << 2 << endl;
}
