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