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