#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int A;
  cin >> A;
  if (A == 1) {
    cout << 1 << " " << 1 << '\n' << 1 << '\n';
    return 0;
  }
  cout << (A - 1) * 2 << " " << 2 << '\n' << 1 << " " << 2 << '\n';
  return 0;
}
