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