#include<bits/stdc++.h>
using namespace std;
int main(){
	int a,b;
	scanf("%d %d",&a,&b);
	int max=a;
	if (max<b){
		max=b;
	}
	printf("%d\n",max);
	return 0;
}
/**************************************************************
	Problem: 1034
	User: xiaojingxuan
	Language: C++
	Result: Accepted
	Time:7 ms
	Memory:2072 kb
****************************************************************/