100 atcoder#ABC052A. [ABC052A] Two Rectangles

[ABC052A] Two Rectangles

Score : 100100 points

Problem Statement

There are two rectangles. The lengths of the vertical sides of the first rectangle are AA, and the lengths of the horizontal sides of the first rectangle are BB. The lengths of the vertical sides of the second rectangle are CC, and the lengths of the horizontal sides of the second rectangle are DD.

Print the area of the rectangle with the larger area. If the two rectangles have equal areas, print that area.

Constraints

  • All input values are integers.
  • 1A1041 \leq A \leq 10^4
  • 1B1041 \leq B \leq 10^4
  • 1C1041 \leq C \leq 10^4
  • 1D1041 \leq D \leq 10^4

Input

The input is given from Standard Input in the following format:

AA BB CC DD

Output

Print the area of the rectangle with the larger area. If the two rectangles have equal areas, print that area.

3 5 2 7
15

The first rectangle has an area of 3×5=153 \times 5=15, and the second rectangle has an area of 2×7=142 \times 7=14. Thus, the output should be 1515, the larger area.

100 600 200 300
60000