#include int main(void) { int x,y; scanf("%d%d%*d%*d",&x,&y); if(x>y)printf("%d",x); else printf("%d",y); return 0; }