#include "bits/stdc++.h" using namespace std; int main() { int C; cin >> C; cout << 1 << " " << C << endl; }