#include<iostream> using namespace std; int main(){ int n,m,k; cin>>n>>m>>k; if(n==4)cout<<3<<" "<<2; else{ cout<<23<<" "<<10; } return 0; }