AtCoder Beginner Contest 052
A
Two Rectangles
AtCoder
⌀ 0
原题
←B →
翻译中…

Problem 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.

翻译中…

Constraints

翻译中…
  • All input values are integers.
  • $1≤A≤10^4$
  • $1≤B≤10^4$
  • $1≤C≤10^4$
  • $1≤D≤10^4$
翻译中…

Input

翻译中…

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

翻译中…

A B C D

翻译中…

Output

翻译中…

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

翻译中…

样例

Input #1
3 5 2 7
Output #1
15
The first rectangle has an area of $3×5=15$, and the second rectangle has an area of $2×7=14$. Thus, the output should be $15$, the larger area.
Input #2
100 600 200 300
Output #2
60000
题目信息
题号
abc052_a
时间限制
2 s
内存限制
256 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。