output_description: Print the area of the rectangle with the larger area. If the two rectangles
  have equal areas, print that area.
  
  * * *
input_description: The input is given from Standard Input in the following format:
  
      
      
      A B C D
attempt: #
  # 　　  ⋀_⋀
  # 　　  (･ω･)
  # .／ Ｕ ∽ Ｕ＼
  #  │＊　合　＊│
  #  │＊　格　＊│
  #  │＊　祈　＊│
  #  │＊　願　＊│
  #  │＊　　　＊│
  #      ￣
  #
  import sys
  
  sys.setrecursionlimit(10**6)
  input = sys.stdin.readline
  from math import floor, ceil, sqrt, factorial, log  # log2ないｙｐ
  from heapq import heappop, heappush, heappushpop
  from collections import Counter, defaultdict, deque
  from itertools import (
      accumulate,
      permutations,
      combinations,
      product,
      combinations_with_replacement,
  )
  from bisect import bisect_left, bisect_right
  from copy import deepcopy
  
  inf = float("inf")
  mod = 10**9 + 7
  
  
  def pprint(*A):
      for a in A:
          print(*a, sep="\n")
  
  
  def INT_(n):
      return int(n) - 1
  
  
  def MI():
      return map(int, input().split())
  
  
  def MF():
      return map(float, input().split())
  
  
  def MI_():
      return map(INT_, input().split())
  
  
  def LI():
      return list(MI())
  
  
  def LI_():
      return [int(x) - 1 for x in input().split()]
  
  
  def LF():
      return list(MF())
  
  
  def LIN(n: int):
      return [I() for _ in range(n)]
  
  
  def LLIN(n: int):
      return [LI() for _ in range(n)]
  
  
  def LLIN_(n: int):
      return [LI_() for _ in range(n)]
  
  
  def LLI():
      return [list(map(int, l.split())) for l in input()]
  
  
  def I():
      return int(input())
  
  
  def F():
      return float(input())
  
  
  def ST():
      return input().replace("\n", "")
  
  
  def main():
      a, b, c, d = MI()
      print(max(a * b, c * d))
  
  
  if __name__ == "__main__":
      main()
  
problem_description: Statement
  
  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.
samples: [{"input": "3 5 2 7", "output": "15\n    \n\nThe first rectangle has an area of 3\u00d75=15, and the second rectangle has an\narea of 2\u00d77=14. Thus, the output should be 15, the larger area.\n\n* * *"}, {"input": "100 600 200 300", "output": "60000"}]