#include using namespace std; #define int long long const int INF = 1e9; const int MOD = INF+7; #define rep(i,N) for(int (i)=0;(i)<(N);++(i)) #define rrep(i,N) for(int (i)=(N-1);(i)>0;--i) #define FOR(i,j,N) for(int (i)=(j);(i)<(N);++(i)) #define put(n) cout<<(n)<; signed main(){ int A,B,C; cin >> C; cout << 1 << " " << C << endl; }