#include<bits/stdc++.h> using namespace std; int main(){ int t,n; scanf("%d %d", &t,&n); cout<<max(t,n)<<endl; return 0; }