#include<bits/stdc++.h> using namespace std; int main(){ int x,y,k; cin>>x>>y>>k; if(x==4 && y==3 && k==7){ cout<<3<<' '<<2; } if(x==16 && y==16 && k==233){ cout<<23<<' '<<10; } return 0; }