#include <bits/stdc++.h>
using namespace std;
const int MAX = 1000 * 100 + 5;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n;
  cin >> n;
  cout << n * 2 - 1 << " " << 2 << "\n" << 1 << " " << 2 << "\n";
}
