#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using lb = long double;
const ll mod = 1e9 + 7;
int a[200];
int main() {
  int n;
  cin >> n;
  if (n == 1) {
    cout << "1 1\n";
    cout << 1 << '\n';
  } else {
    cout << (n - 1) * 2 << " 2\n";
    cout << "1 2" << '\n';
  }
  return 0;
}
