Problem:
 Score : 100 points    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.        Sample Input 1 3 5 2 7      Sample 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.       Sample Input 2 100 600 200 300      Sample Output 2 60000

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

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a * b, c * d))

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

Solution (Python):
a,b,c,d = map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a*b, c*d))

Solution (Python):
import sys
stdin = sys.stdin

def li(): return map(int, stdin.readline().split())
def li_(): return map(lambda x: int(x)-1, stdin.readline().split())
def lf(): return map(float, stdin.readline().split())
def ls(): return stdin.readline().split()
def ns(): return stdin.readline().rstrip()
def lc(): return list(ns())
def ni(): return int(stdin.readline())
def nf(): return float(stdin.readline())

a,b,c,d = li()

if a*b < c*d:
    print(c*d)
else:
    print(a*b)

Solution (Python):

A, B, C, D = map(int, input().split())
print(max(A*B, C*D))

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a * b, c * d))

Solution (Python):
a, b, c, d = map(int, input().split())

if a * b >= c * d:
    print(a * b)

else:
    print(c * d)

Solution (Python):
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


def main():
    A, B, C, D = map(int, input().split())
    print(max(A * B, C * D))


if __name__ == '__main__':
    main()

Solution (Python):
a,b,c,d = map(int, input().split())
square_1 = a*b
square_2 = c*d
print(int(max(square_1, square_2)))

Solution (Python):
a,b,c,d=map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
a,b,c,d = map(int,input().split())

area1 = a*b
area2 = c*d
if area1 == area2:
    print(area1)
else:
    print(max(area1,area2))

Solution (Python):
n = input().split()
a, b, c, d = int(n[0]), int(n[1]), int(n[2]), int(n[3])
x, y = a * b, c * d
if x < y:
  print(y)
elif x > y:
  print(x)
else:
  print(x)

Solution (Python):
a,b,c,d=map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
a,b,c,d=map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
a,b,c,d = map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a * b, c * d))

Solution (Python):
A,B,C,D=map(int,input().split())
print(max(A*B,C*D))

Solution (Python):
A,B,C,D = map(int,input().split())
print(max(A*B,C*D))

Solution (Python):
A,B,C,D=map(int,input().split())
if A*B<C*D:
    print(C*D)
else:
    print(A*B)

Solution (Python):
A, B, C, D = map(int, input().split())

print(max(A*B,C*D))

Solution (Python):
A,B,C,D=map(int,input().split())
if A*B>=C*D:
    print(A*B)
else:
    print(C*D)

Solution (Python):
A, B, C, D = map(int, input().split())
print(max([A * B, C * D]))

Solution (Python):
a, b, c, d = (int(i) for i in input().split())
if a * b > c * d:
    print(a * b)
else:
    print(c * d)

Solution (Python):
a,b,c,d = list(map(int, input().split()))
print(max([a * b , c * d]))

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

Solution (Python):
a,b,c,d = map(int, input().split())
s1 = a*b
s2 = c*d
print(max(s1,s2))

Solution (Python):
a,b,c,d=map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
a,b,c,d=map(int,input().split());print(max(a*b,c*d))

Solution (Python):
a,b,c,d = map(int,input().split())
if a*b>c*d:print(a*b)
elif a*b==c*d:print(a*b)
else:print(c*d)

Solution (Python):
def main():
    A, B, C, D = map(int, input().split())
    print(max(A*B, C*D))

if __name__ == '__main__':
    main()

Solution (Python):
a,b,c,d=map(int,input().split());print(max(a*b,c*d))

Solution (Python):
a,b,c,d=map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
a,b,c,d=map(int,input().split())
print([a*b,c*d][a*b<d*c])

Solution (Python):
a, b, c, d = list(map(int, input().split()))

print(max(a*b, c*d))

Solution (Python):
a,b,c,d = (int(_) for _ in input().split())
print(a*b) if a*b >= c*d else print(c*d)

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

Solution (Python):
A, B, C, D = map(int, input().split())
print(max(A*B, C*D))

Solution (Python):
a, b, c, d = map(int, input().split())


if a * b == c * d or a * b > c * d:
    print(a * b)
else:
    print(c * d)

Solution (Python):
a, b, c, d = map(int, input().split())

print(max(a*b, c*d))

Solution (Python):
A, B, C, D = map(int, input().split())

if A * B > C * D:
   print(A * B)
else:
    print(C * D)

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

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a*b, c*d))

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

Solution (Python):

a,b,c,d =map(int,input().split())
print(max(a*b,c*d))

Solution (Python):


def main():
    a, b, c, d = map(int, input().split())
    print(max(a * b, c * d))

if __name__ == '__main__':
    main()

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

Solution (Python):
a,b,c,d = map(int,input().split())
if a*b > c*d or a*b == c*d:
    print(a*b)
else:
    print(c*d)

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

Solution (Python):
a, b, c, d = map(int, input().split())
print([a*b, c*d][a*b < c*d])

Solution (Python):

A, B, C, D = map(int, input().split())

S1 = A * B
S2 = C * D
if S1 >= S2:
    print(S1)
else:
    print(S2)

Solution (Python):
a, b, c, d = map(int, input().split())
ab = a * b
cd = c * d
if ab > cd:
  print(ab)
else:
  print(cd)

Solution (Python):
a,b,c,d=map(int,input().split())
e=a*b
f=c*d
if e>=f:
  print(e)
else:
  print(f)

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a*b, c*d))

Solution (Python):
A, B, C, D = map(int, input().split())
if A*B <= C*D:
    print(C*D)
else:
    print(A*B)

Solution (Python):
a, b, c, d = map(int, input().split(" "))

print(max(a*b, c*d))

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

Solution (Python):
a,b,c,d=map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
a, b, c, d = list(map(int, input().split()))

print(max(a*b, c*d))

Solution (Python):
a,b,c,d=map(int,input().split())

if a*b>c*d:
  print(a*b)
else:
  print(c*d)

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a * b, c * d))

Solution (Python):

n=[int(i) for i in input().split()]
if(n[0]*n[1]>=n[2]*n[3]):
  print(n[0]*n[1])
else:
  print(n[2]*n[3])

Solution (Python):
a, b, c, d = [int(i) for i in input().split()]

ab = a * b
cd = c * d

if ab > cd:
    print(ab)
else:
    print(cd)

Solution (Python):
l = [int(x) for x in raw_input().split()]
print max(l[0] * l[1], l[2] * l[3])

Solution (Python):
def main():
    s = input()
    l = s.split(" ")
    shape_1 = int(l[0]) * int(l[1])
    shape_2 = int(l[2]) * int(l[3])
    print(max(shape_1,shape_2))

if __name__ == '__main__':
    main()

Solution (Python):

a, b, c, d = input().split(" ")

print(max(int(a)*int(b), int(c)*int(d)))

Solution (Python):
def main():
    s = input()
    l = s.split(" ")
    shape_1 = int(l[0]) * int(l[1])
    shape_2 = int(l[2]) * int(l[3])
    if shape_1 == shape_2:
        print(shape_1)
    elif shape_1 > shape_2:
        print(shape_1)
    elif shape_1 < shape_2:
        print(shape_2)

if __name__ == '__main__':
    main()

Solution (Python):
A, B, C,D = (int(i) for i in input().split())
if A*B > C*D:
    print(A*B)
else:
    print(C*D)

Solution (Python):
a,b,c,d = map(int, input().split())
print(max(a*b, c*d))

Solution (Python):
a,b,c,d=map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
A, B, C, D = map(int, raw_input().split())
print max(A*B, C*D)

Solution (Python):
a,b,c,d = map(int, input().split())
print(max(a * b, c * d))

Solution (Python):
a, b, c, d = map(int, input().split())

print(max(a*b, c*d))

Solution (Python):

def main():
    a, b, c,d = input().split()
    a = int(a)
    b = int(b)
    c = int(c)
    d = int(d)

    if a*b < c*d:
        print(c*d)
    else:
        print(a*b)

if __name__ == "__main__":
        main()

Solution (Python):
A, B, C, D = map(int, input().split())

if A * B > C * D:
    print(A * B)
else:
    print(C * D)

Solution (Python):
A, B, C, D = map(int, input().split())

print(max(A*B, C*D))

Solution (Python):


a, b, c, d = map(int, input().split())
print(max([a*b, c*d]))

Solution (Python):
a, b, c, d = map(int, input().split())
A = a * b
B = c * d
if A >= B:
    print(A)
else: print(B)

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a*b, c*d))

Solution (Python):


A, B, C, D = map(int, input().split())

print(max(A * B, C * D))

Solution (Python):
a,b,c,d=map(int, input().split())
print(max(a*b, c*d))

Solution (Python):
a,b,c,d=map(int,input().split())
print(max(a*b,c*d))

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

Solution (Python):
a,b,c,d=map(int, input().split())
print(max(a*b,c*d))

Solution (Python):
A,B,C,D = (int(i) for i in input().split())

print(max(A*B,C*D))

Solution (Python):
a,b,c,d=map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
s=[int(i) for i in input().split()]
print(max(s[0]*s[1],s[2]*s[3]))

Solution (Python):
a,b,c,d=map(int,raw_input().split())
print max(a*b, c*d)

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

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

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a*b, c*d))

Solution (Python):
a,b,c,d=map(int,input().split());print(max(a*b,c*d))

Solution (Python):
A, B, C, D = map(int,input().split())
print(max(A * B, C * D))

Solution (Python):
A,B,C,D = map(int,input().split())
print(max(A*B,C*D))

Solution (Python):
A,B,C,D = map(int,input().split())
if A*B >C*D:
    print('{}'.format(A*B))
elif A*B ==C*D:
    print('{}'.format(A*B))
else :
    print('{}'.format(C*D))

Solution (Python):
a,b,c,d=map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
a = [int(i) for i in input().split()] 
if a[0]*a[1] >= a[2]*a[3]:
  print(a[0]*a[1])
else:
  print(a[2]*a[3])

Solution (Python):
a,b,c,d = map(int,input().split())
A = a * b
B = c * d
if A == B:
    print(A)
elif A > B:
    print(A)
else:
    print(B)

Solution (Python):
a, b, c, d = list(map(int, input().split()))
print((a * b if a * b > c * d else c * d))

Solution (Python):
a,b,c,d = map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
a,b,c,d = list(map(int,input().split()))


if a * b >= c * d:
  print(a*b)
else:
  print(c*d)

Solution (Python):
A, B, C, D = map(int, input().split())
print(max(A * B, C * D))

Solution (Python):
a, b, c, d = map(int, raw_input().split())
print a * b if (a * b > c * d) else c * d

Solution (Python):
a,b,c,d=map(int,input().split())
print(max(a*b,c*d))

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

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a*b, c*d))

Solution (Python):


a,b,c,d = map(int,input().split())

A1 = a*b
A2 = c*d

if A1 < A2:
    print(A2)
elif A2 < A1:
    print(A1)
else:
    print(A1)

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

Solution (Python):
A, B, C, D = [int(e) for e in input().split()]
AB = A * B
CD = C * D
if AB > CD:
  print(AB)
else:
  print(CD)

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

Solution (Python):
A,B,C,D = map(int,input().split())
print(max(A*B,C*D))

Solution (Python):
A, B, C, D = map(int, input().split())
print(max(A*B, C*D))

Solution (Python):
A,B,C,D=map(int,input().split())
print(max(A*B,C*D))

Solution (Python):
a,b,c,d = map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
a, b, c, d = map(int, input().split(' '))
print(max(a*b, c*d))

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a*b, c*d))

Solution (Python):
a, b, c, d = list(map(int, input().split()))
print(max(a * b, c * d))

Solution (Python):
A,B,C,D=map(int,input().split())
print (max(A*B,C*D))

Solution (Python):
a,b,x,y = map(int,input().split())
if a * b >= x * y :
  print(a * b)
else:
  print(x * y)

Solution (Python):
input = list(map(int,input().split()))
if input[0] * input[1] >= input[2] * input[3]:
  print(input[0] * input[1])
else:
  print(input[2] * input[3])

Solution (Python):
def larger(x, y):
	if x > y: return x
	else: return y

A, B, C, D = map(int, raw_input().split())
print larger(A*B, C*D)

Solution (Python):
N = list(map(int,input().split()))

print(max([N[0]*N[1],N[2]*N[3]]))

Solution (Python):
numbers = list(map(lambda x: int(x), input().split(" ")))

sq1 = numbers[0] * numbers[1]
sq2 = numbers[2] * numbers[3]

if sq1 > sq2:
    print(sq1)
else:
    print(sq2)

Solution (Python):
a,b,c,d = map(int, input().split(" "))
print(max(a*b, c*d))

Solution (Python):
a, b, c, d = list(map(int, input().split()))
print(max(a*b, c*d))

Solution (Python):
a = list(map(int,input().split()))
print(max(a[0]*a[1],a[2]*a[3]))

Solution (Python):
A, B, C, D = map(int, input().split())
print(max(A*B, C*D))

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

Solution (Python):
a,b,c,d = map(int, input().split())

if a*b >= c*d:
    print(a*b)
else:
    print(c*d)

Solution (Python):





if __name__ == '__main__':
    a, b, c, d = list(map(int, input().split()))
    print(max(a * b, c * d))

Solution (Python):
S=str(input())
X=S.split()
A=int(X[0])
B=int(X[1])
C=int(X[2])
D=int(X[3])
if A*B < C*D:
    print(C*D)
else:
     print(A*B)

Solution (Python):
a, b, c, d = map(int, input().split())
area1 = a * b
area2 = c * d
if area1 > area2:
	print(area1)
elif area1 == area2:
	print(area1)
else:
	print(area2)

Solution (Python):
a, b, c, d = map(int, input().split())
one = a * b
two = c * d

if one >= two:
    print(one)
else:
    print(two)

Solution (Python):
A,B,C,D=map(int,input().split())
if A*B<=C*D:
    print(C*D)
else :
    print(A*B)

Solution (Python):
import math
import sys

def getinputdata():

    
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result





arr_data = getinputdata()

a = int(arr_data[0][0])
b = int(arr_data[0][1])
c = int(arr_data[0][2])
d = int(arr_data[0][3])



print(a*b if a*b>=c*d else c*d)

Solution (Python):
a,b,c,d = (int(i) for i in input().split())
print(max(a*b,c*d))

Solution (Python):
a, b, c, d = list(map(int, input().split()))
print(max(a * b, c * d))

Solution (Python):
a, b, c, d = [int(x) for x in input().split()]
print(max(a*b, c*d))

Solution (Python):
a,b,c,d=map(int,input().split())
if a*b==c*d:
  print(a*b)
elif a*b>c*d:
  print(a*b)
else:
  print(c*d)

Solution (Python):
A, B, C, D = [int(s) for s in input().split()]
 
if A * B > C * D:
    print(A * B)
else:
    print(C * D)

Solution (Python):
A,B,C,D=map(int,input().split())
print(max([A*B,C*D]))

Solution (Python):
A, B, C, D = map(int, input().split())

print(max(A * B, C * D))

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

Solution (Python):
A,B,C,D=map(int,input().split())
print(max(A*B,C*D))

Solution (Python):
a,b,c,d = map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
a,b,c,d = map(int, input().split())
x = a * b
y = c * d

if x == y:
    print(x)
elif x > y:
    print(x)
elif x < y:
    print(y)

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

Solution (Python):
a,b,c,d=map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
a,b,c,d=map(int,input().split())
X=a*b
Y=c*d
print(max(X,Y))

Solution (Python):
a,b,c,d=map(int,input().split())
print(max([a*b,c*d]))

Solution (Python):
a, b, c, d = map(int, raw_input().split())
e = [a*b, c*d]
print max(e)

Solution (Python):
A,B,C,D=(int (i) for i in input(). split())
print(max(A*B,C*D))

Solution (Python):
A,B,C,D = [int(i) for i in input().split()]
S1 = A*B
S2 = C*D
print(max(S1,S2))

Solution (Python):
x = input().split()
A = int(x[0])
B = int(x[1])
C = int(x[2])
D = int(x[3])
print(max(A*B,C*D))

Solution (Python):
a, b, c, d = map(int, input().split())

if(a * b > c * d):
    print(a * b)
else:
    print(c * d)

Solution (Python):
a,b,c,d=[int(i) for i in input().split()]
print(max(a*b,c*d))

Solution (Python):
a,b,c,d = map(int,input().split(" "))

first = a * b
second = c * d

if first > second:
    print(first)
else:
    print(second)

Solution (Python):
a,b,c,d=map(int, input().split())

if a*b>=c*d:
    print(a*b)
else:
    print(c*d)

Solution (Python):
A,B,C,D=map(int, raw_input().split())
print max(A*B, C*D)

Solution (Python):
a, b, c, d = map(int, input().split())
A=a*b
B=c*d

if A >= B:
  print(A)
else:
  print(B)

Solution (Python):
a,b,c,d=[int(x) for x in input().split()]
print(a*b) if a*b>=c*d else print(c*d)

Solution (Python):
def main():
    A, B, C, D = map(int, input().split())

    ans = max(A * B, C * D)
    print(ans)

if __name__ == '__main__':
    main()

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

Solution (Python):
l = map(int, raw_input().split())
if (l[0] * l[1]) > (l[2] * l[3]):
    print (l[0] * l[1])
    exit()
else:
    print (l[2] *  l[3])

Solution (Python):
a, b, c, d = list(map(int ,input().split(" ")))
print(max(a * b, c * d))

Solution (Python):
a,b,c,d=map(int,input().split());print([a*b,c*d][c*d>a*b])

Solution (Python):
import sys
a, b, c, d = map(int, sys.stdin.readline().split())
print(max(a*b, c*d))

Solution (Python):
print(max(x*y for x,y in zip(*[iter(map(int,input().split()))]*2)))

Solution (Python):
n = input().split()
m = list(map(int,n))
a = m[0] * m[1]
b = m[2] * m[3]
if a < b:
  print(b)
else:
  print(a)

Solution (Python):
A,B,C,D = map(int,input().split())

if A * B >= C * D:
	print(A * B)
else:
	print(C * D)

Solution (Python):
num = [int(x) for x in input().split()]
print(num[0]*num[1] if num[0]*num[1] > num[2]*num[3] else num[2]*num[3])

Solution (Python):
a, b, c, d = map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
def main():
    A, B, C, D = map(int, input().split())
    hoge = A * B
    fuga = C * D
    if hoge >= fuga:
        print(hoge)
    else:
        print(fuga)


if __name__ == "__main__":
    main()

Solution (Python):
a, b, c, d = map(int, input().split())

print(max(a * b, c * d))

Solution (Python):
a,b,c,d=map(int, input().split())
print(max(a*b,c*d))

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a * b, c * d))

Solution (Python):
A, B, C, D = map(int, input().split())
print(max(A*B, C*D))

Solution (Python):
a = input().split()
A = int(a[0])
B = int(a[1])
C = int(a[2])
D = int(a[3])
q = A*B
w = C*D
if q <= w:
 print(w)
else:
 print(q)

Solution (Python):
value = input()
values = value.split()

if (int(values[0]) * int(values[1])) > (int(values[2]) * int(values[3])):
	print(int(values[0]) * int(values[1]))
else:
	print(int(values[2]) * int(values[3]))

Solution (Python):
A,B,C,D = map(int,input().split())
if A*B >= C*D:
    print(A*B)
else:
    print(C*D)

Solution (Python):
ls = list(map(int, input().split()))

A = ls[0] * ls[1]
B = ls[2] * ls[3]

if A > B:
    print(A)
else:
    print(B)

Solution (Python):
def main():
    a, b, c, d = map(int, input().split())
    ans = a*b if a*b >= c*d else c*d
    print(ans)
    

if __name__ == "__main__":
    main()

Solution (Python):
s = raw_input().split()
p= int(s[0]) 
q= int(s[1])
r= int(s[2])
s= int(s[3])
def area(a,b,c, d):
    if a*b > c*d:
        print a*b
    elif c*d > a*b:
        print c*d
    else:
        print a*b
x = area(p,q,r,s)

Solution (Python):
A ,B ,C, D = [int(x) for x in input().strip().split(' ')]
r1 ,r2  =A*B, C*D
if (r1 > r2):
    print(r1)
elif(r2 >r1):
    print(r2)
else:
    print(r1)

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a*b, c*d))

Solution (Python):
a, b, c, d = [int(i) for i in input().split()]
if a * b > c * d:
    print(a * b)
elif a * b < c * d:
    print(c * d)
else:
    print(a * b)

Solution (Python):
A,B,C,D=map(int, input().split())
if (A*B>=C*D):
 print(A*B)
else:
 print(C*D)

Solution (Python):
a, b, c, d = map(int, raw_input().split())

print max(a * b, c * d)

Solution (Python):
A, B, C, D = map(int, input().split())
print(max(A * B, C * D))

Solution (Python):
A,B,C,D=map(int, input().split())
if (A*B>=C*D):
 print(A*B)
else:
 print(C*D)

Solution (Python):
A, B, C, D = map(int, input().split())
if A * B > C * D:
    print(A * B)
else:
    print(C * D)

Solution (Python):
A, B, C, D = list(map(int, input().split()))
print(max(A*B,C*D))

Solution (Python):
a,b,c,d = map(int, input().split())
print(max(a*b,c*d))

Solution (Python):
a,b,c,d=[int(x) for x in input().split()]
print(max(a*b,c*d))

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a  * b, c * d))

Solution (Python):

a,b,c,d = map(int, input().split())

print(max(a*b, c*d))

Solution (Python):
def inint(): return int(input())
def inlint(): return list(map(int, input().split()))
def infloat(): return float(input())
def inlffloat(): return list(map(float, input().split()))
def inl(): return list(input())
def putlint(): return "".join(list(map(str, ans)))

a,b,c,d = inlint()

a = a*b
b=c*d
if a>b:
    print(a)
else:
    print(b)

Solution (Python):





def main():
    A, B, C, D = map(int, input().split())

    print(max(A*B, C*D))

if __name__ == "__main__": main()

Solution (Python):
input_line = map(int,raw_input().split(" "))
a = input_line[0]
b = input_line[1]
c = input_line[2]
d = input_line[3]
m1 = a * b
m2 = c * d
if m1 >= m2:
	print m1
else:
	print m2

Solution (Python):
a, b, c, d = list(map(int, input().split()))
if a*b > c*d:
    print(a*b)
else:
    print(c*d)

Solution (Python):
A, B, C, D = map(int, input().split())

if A * B > C * D:
    print(A * B)
elif A * B < C * D:
    print(C * D)
else:
    print(A*B)

Solution (Python):
s = input()
x = s.split()
y = [0,0,0,0]
i = 0
for v in x:
    y[i] = int(v)
    i = i + 1
a1 = y[0] * y[1]
a2 = y[2] * y[3]
if a1 >= a2:
    print(a1)
else:
    print(a2)

Solution (Python):
A,B,C,D =map(int,input().split())

if A*B>C*D:
    print(A*B)

elif A*B<C*D:
    print(C*D)

else:
    print(A*B)

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

Solution (Python):
from collections import defaultdict


def main():
    A, B, C, D = map(int, input().split())
    print(max(A * B, C * D))


if __name__ == '__main__':
    main()

Solution (Python):
a, b, c, d = map(int, input().split())
A = a * b
B = c * d
if A >= B:
    print(A)
else:
    print(B)

Solution (Python):
a, b, c, d = map(int, raw_input().split())

if a * b >= c * d:
    print a * b
else:
    print c * d

Solution (Python):
def ri(): return int(input())
def rli(): return list(map(int, input().split()))
def ris(): return list(input())
def pli(a): return "".join(list(map(str, a)))

a,b,c,d = rli()
print(max(a*b,c*d))

Solution (Python):
import sys




def read_int_list():
    return list(map(int, input().split()))


def read_str_list():
    return input().split()


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    a, b, c, d = read_int_list()
    res = max(a * b, c * d)
    print(res)


main()

Solution (Python):
A, B, C, D = map(int, raw_input().split())
print max(A*B, C*D)

Solution (Python):
A, B, C, D = [int(i) for i in input().split()]

s1 = A*B
s2 = C*D

if s1 >= s2:
    print(s1)
else:
    print(s2)

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a * b, c * d))

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a*b, c*d))

Solution (Python):
a, b, c, d = map(int, input().split())

if a*b > c*d :
    print (a*b)
else :
    print(c*d)

Solution (Python):
A , B ,C , D = map(int, input().split())
print( max((A*B) , (C*D)))

Solution (Python):
A,B,C,D = map(int, raw_input().split())
print max(A*B, C*D)

Solution (Python):
A, B, C, D = map(int,input().split())

S1 = A * B
S2 = C * D

if S1 > S2:
    print(S1)
elif S1 == S2:
    print(S1)
else:
    print(S2)

Solution (Python):
a = input().split()
for i in range(len(a)):
    a[i] = int(a[i])
    
if a[0]*a[1] > a[2]*a[3]:
    print(a[0]*a[1])
else:
    print(a[2]*a[3])

Solution (Python):
l = list(map(int, input().split()))

A = l[0] * l[1]
B = l[2] * l[3]
print( A if (A >= B) else B)

Solution (Python):


import os
import sys

class Main(object):

    def __init__(self):
        pass

    def some_method(self):
        a, b, c, d = map(int, input().split())
        one = a * b
        another = c * d
        print(max(one, another))
        return None

if __name__ == '__main__':
    m = Main()
    m.some_method()

Solution (Python):
if __name__ == "__main__":
    A,B,C,D = map(int, input().split())
    res1 = A * B
    res2 = C * D
    print (max(res1, res2))

Solution (Python):
a, b, c, d = map(int, raw_input().split())


print max(a*b, c*d)

Solution (Python):
a,b,c,d=map(int,input().split())
rec1=a*b
rec2=c*d
if rec1>rec2 :
    print(rec1)
elif rec1<rec2:
    print(rec2)
else:
    print(rec1)

Solution (Python):
def solve():
    A, B, C, D = map(int, input().split())
    if A * B > C * D:
        ans = A * B
    else:
        ans = C * D
    print(ans)

if __name__ == '__main__':
    solve()

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a*b, c*d))

Solution (Python):
A, B, C, D = map(int, input().split())
list = [A * B, C * D]
print(max(list))

Solution (Python):
A, B, C, D = map(int, raw_input().split())
print max(A*B, C*D)

Solution (Python):
a,b,c,d=map(int,input().split())
S=a*b
T=c*d
print(max(S,T))

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

Solution (Python):
a, b, c, d = [int(t) for t in input().split()]

j = a * b
k = c * d


print(max(j, k))

Solution (Python):


A,B,C,D = map(int,raw_input().split())

if A*B > C*D:
    print A*B
elif A*B < C*D:
    print C*D
else:
    print A*B

Solution (Python):
a, b, c, d = list(map(int, input().split()))

s1 = a * b
s2 = c * d

if s1 >= s2:
    print(s1)
else:
    print(s2)

Solution (Python):
A,B,C,D=list(map(int, input().split()))

if A*B>=C*D:
    print(A*B)
else:
    print(C*D)

Solution (Python):
a = map(int,raw_input().split())


if a[0]*a[1] == a[2]*a[3]:
        print a[0]*a[1]
elif a[0]*a[1] > a[2]*a[3]:
        print a[0]*a[1]
else:
        print a[2]*a[3]

Solution (Python):
A, B, C, D = list(map(int, input().split()))
S1 = A * B
S2 = C * D
if S1 >= S2:
	print(S1)
else:
	print(S2)

Solution (Python):
a, b, c, d = map(int, input().split())
print(max(a*b, c*d))

Solution (Python):
a,b,c,d = [int(i) for i in input().split()]

if a*b > c*d:
    s = a * b
else:
    s = c * d

print(s)

Solution (Python):
a,b,c,d = map(int, raw_input().split())
print max(a*b, c*d)

Solution (Python):
A, B, C, D = map(int,input().split())

print(max(A*B,C*D))

Solution (Python):

A, B, C, D = map(int, raw_input().split())
print max(A*B, C*D)

Solution (Python):
a,b,c,d = (int(i) for i in input().split())
if (a*b >= c*d):
    print("%d" % (a*b))
else:
    print("%d" % (c*d))

Solution (Python):
a, b, c, d = map(int, input().split())
s1 = a*b
s2 = c*d

if s1 > s2:
    print(s1)
else:
    print(s2)

Solution (Python):
a,b,c,d = map(int,input().split())

if a * b > c * d:
  print(a * b)
else:
  print(c * d)

Solution (Python):
l = list(map(int, input().split()))

print(max(l[0] * l[1], l[2] * l[3]))

Solution (Python):
A, B, C, D = list(map(int, input().split()))
print(A*B) if A*B > C * D else print(C*D)

Solution (Python):
from collections import defaultdict


def main():
    A, B, C, D = map(int, input().split())
    print(max(A * B, C * D))


if __name__ == '__main__':
    main()

Solution (Python):
a,b,c,d = map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
a,b,c,d = map(int,input().split())

if a*b <= c*d : print (c*d)
else : print (a*b)

Solution (Python):
a,b,c,d=map(int,input().split())
print(max(a*b,c*d))

Solution (Python):



a, b, c, d = map(int, input().split())
s_1 = a * b     
s_2 = c * d     

if s_1 >= s_2:
    print(s_1)
else:
    print(s_2)

Solution (Python):
if __name__=="__main__":
    [a,b,c,d] = map(int, input().split())
    if(a*b > c*d):
        print(int(a*b))
    else:
        print(int(c*d))

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

Solution (Python):
a, b, c, d = [int(x) for x in input().split()]
print(a * b if a * b > c * d else c * d)

Solution (Python):
A, B, C, D = map(int, input().split())

i = A * B
j = C * D

if i == j:
	print(i)
elif i > j:
	print(i)
elif i < j:
	print(j)

Solution (Python):
A, B, C, D = map(int, raw_input().split())
print max(A*B, C*D)

Solution (Python):
a,b,c,d=map(int,input().split())
print(max(a*b,c*d))

Solution (Python):
A, B, C, D = map(int, input().split())
print(max(A*B,C*D))

Solution (Python):


def main():
    a, b, c, d = map(int, input().split())

    print(a * b) if a * b > c * d else print(c * d)

if __name__ == '__main__':
    main()

Solution (Python):


def main():
    a, b, c, d = map(int, input().split())

    print(a * b) if a * b > c * d else print(c * d)

if __name__ == '__main__':
    main()

Solution (Python):
a = list(map(int,input().split()))
def max(x,y):
    if x < y:
        return y
    else:
        return x
print(max(a[0]*a[1],a[2]*a[3]))

Solution (Python):
A, B, C, D = map(int, input().split())
print(max(A * B, C * D))

Solution (Python):
a, b, c, d = map(int, input().split())
x=a*b
y=c*d
if(x > y):
    print(x)
else:
    print(y)

Solution (Python):
a, b, c, d = map(int, input().split()); print(max(a * b, c * d))