#include <iostream>
using namespace std;
int main ()
{
int a,b,c,d,numb1,numb2;
cin>>a>>b>>c>>d;
if(a>b)
numb1=a;
else
numb1=b;
if(c>d)
numb2=c;
else
numb2=d;
if (numb1>numb2)
{cout<<"最大值为"<<numb1<<endl;}
else
{cout<<"最大值为"<<numb2<<endl;
}
return 0;
}