#include using namespace std; int main(){ long P; cin >> P; cout << P << " 1"; }