#include #define rep(i, n) for(long long i = 0; i < n; i ++) using namespace std; int main(){ int c; cin >> c; cout << "1 " << c << endl; return 0; }