#include<bits/stdc++.h>
using namespace std;
int main(){
	int A,B;
	cin>>A>>B;
	cout<<max(A,B);
	
	
	
	
	
	
	
	
	return 0;
	
	
	
	
	
	}
/**************************************************************
	Problem: 1034
	User: zhangchenhao
	Language: C++
	Result: Accepted
	Time:8 ms
	Memory:2072 kb
****************************************************************/