There are two rectangles. The lengths of the vertical sides of the first rectangle are A, and the lengths of the horizontal sides of the first rectangle are B. The lengths of the vertical sides of the second rectangle are C, and the lengths of the horizontal sides of the second rectangle are D.  Print the area of the rectangle with the larger area. If the two rectangles have equal areas, print that area.
a,b,c,d=map(int,input().split())
if a*b <= c*d:
  print(a*b)
else:
  print(c*d)
  

a,b,c,d=map(int,input().split())
if a*b <= c*d:
  print(c*d)
else:
  print(a*b)
  
