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