#include<bits/stdc++.h>
using namespace std;
int n,m,f,a[32769][32769],r,c;
int main(){
	cin>>n>>m>>f;
	cout<<3<<" "<<2;
	return 0;
}