#include<bits/stdc++.h>
using namespace std;
int main(){
	int n,m,k,l;
	cin>>n>>m>>k;
	l=min(n,m)*2+1;
	
	return 0;
}