#include <bits/stdc++.h>
using namespace std;
int main() {
  int A;
  cin >> A;
  if (A == 1) {
    cout << "2 1\n";
    cout << "2\n";
  } else {
    cout << 2 * (A - 1) << " 2\n";
    cout << "1 2\n";
  }
}
