#include using namespace std; typedef long long int ll; int main() { ll n;cin>>n; if(n==1) { cout<<"1 1"<