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

if A % 2 == 0 or B % 2 == 0 or C % 2 == 0:

    print((0))

else:

    s = sorted([A, B, C])

    print((s[0] * s[1]))
*l, = list(map(int, input().split()))

a, b, c = sorted(l)

if a%2 == 0 or b%2 == 0 or c%2 == 0:

    print((0))

else:

    print((a*b))
A, B, C = list(map(int, input().split()))
if A % 2 == 0 or B % 2 == 0 or C % 2 == 0:
    print((0))
else:
    s = sorted([A, B, C])
    print((s[0] * s[1]))

(*l,) = list(map(int, input().split()))
a, b, c = sorted(l)
if a % 2 == 0 or b % 2 == 0 or c % 2 == 0:
    print((0))
else:
    print((a * b))

-A, B, C = list(map(int, input().split())) -if A % 2 == 0 or B % 2 == 0 or C % 2 == 0: +(*l,) = list(map(int, input().split())) +a, b, c = sorted(l) +if a % 2 == 0 or b % 2 == 0 or c % 2 == 0: -    s = sorted([A, B, C]) -    print((s[0] * s[1])) +    print((a * b))