a, b, c = map(int, input().split())
a, b, c = min(a, b, c), a + b + c - max(a, b, c) - min(a, b, c), max(a, b, c)
print(a * b * (c % 2))

8b063c6f46f5a9920ea500fe17cf82ee95a429ab
<mask token>

<mask token>
print(a * b * (c % 2))

a, b, c = map(int, input().split())
a, b, c = min(a, b, c), a + b + c - max(a, b, c) - min(a, b, c), max(a, b, c)
print(a * b * (c % 2))
