#include<bits/stdc++.h>
using namespace std;
int main(){
	int n,s;
	cin>>s>>n;
	if(n>s) {
		cout<<n;
    }else{
    	cout<<s;
    }
}
/**************************************************************
	Problem: 1034
	User: wangyiyang
	Language: C++
	Result: Accepted
	Time:8 ms
	Memory:2072 kb
****************************************************************/