Click Here to go back to the homepage.

Piece of Cake! Solution:


V, x, y = map(int, input().split())
print((V - x if V - x > x else x) * (V - y if V - y > y else y) * 4)