#include <iostream>

using namespace std;

int main()
{   int A,B,C,D;
     A>=1 && A<=10000;
    B >=1 && B<=10000;
     C>=1 && C<=10000;
     D>=1 && D<=10000;
    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;}