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