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