#include using namespace std; int main(){ long long p; cin >> p; cout << p << ' ' << 1; return 0; }