#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: wngjinming
	Language: C++
	Result: Accepted
	Time:9 ms
	Memory:2072 kb
****************************************************************/