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