#include using namespace std; using ll = long long; ll P; int main(void){ ios::sync_with_stdio(false); cin.tie(nullptr); cin >> P; cout << 1 << " " << P << endl; return 0; }