#include using namespace std; int main() { int N; cin >> N; int second = 1; if ((N+2) % 3 == 0) { second ++; } else if ((N+2) % 3 == 2) { second += 2; } cout << 3 << " " << second; for (int i=2; i