#include using namespace std; #define int long long signed main(){ int N; cin >> N; cout << 1 << " " << N << endl; }