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