#include <bits/stdc++.h>
using namespace std;
int main() {
  int a;
  cin >> a;
  if (a == 1) {
    cout << 1 << " " << 1 << endl;
    cout << 1 << endl;
    return 0;
  }
  int n, m;
  n = (a - 1) * 2;
  m = 2;
  cout << n << " " << m << endl;
  cout << 1 << " " << 2 << endl;
}
