#include <iostream>

using namespace std;

int main()
{   int A,B,C,D;

    cout <<"enter 4 numbers "<<endl;
   cin>>A;
cin>>B;
cin>>C;
cin>>D;
      if(A*B>C*D){
        cout<<"the largest area is"<<A*B;

}
   else{cout<<"the largest area is "<<C*D;}
    return 0;}