#include<bits/stdc++.h> using namespace std; int main(){ int a,s,d; cin>>a>>s>>d; if(a==4){ cout<<3<<" "<<2; }else{ cout<<23<<" "<<10; } }