#include using ll = long long int; using namespace std; ll mod=1e9+7; int main(){ int c; cin >> c; cout << 1 << " " << c << endl; }