#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0), cin.tie(NULL);
  int v;
  cin >> v;
  cout << 2 * v - 1 << " 2" << endl;
  cout << 1 << " " << 2 << endl;
  return 0;
}
