#include <bits/stdc++.h>
using namespace std;
void solve() {
  int a;
  cin >> a;
  int n = 2 * a - 1;
  int m = 2;
  cout << n << " " << m << endl;
  cout << "1 2" << endl;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int t;
  t = 1;
  while (t--) {
    solve();
  }
}
