#include <bits/stdc++.h>
using namespace std;
const int maxn = 2e3 + 5;
const int mod = 1e9 + 9;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n;
  cin >> n;
  cout << (2 * n) - 1 << ' ' << 2 << endl << 1 << ' ' << 2 << endl;
  return 0;
}
