Problem A
Piece of Cake!
It is Greg’s birthday! To celebrate, his friend Sam invites Greg and two other friends for a small party. Of course, every birthday party must have cake.
Sam ordered a square cake. She makes a single horizontal cut and a single vertical cut. In her excitement to eat cake, Sam forgot to make these cuts through the middle of the cake.
Of course, the biggest piece of cake should go to Greg since it is his birthday. Help Sam determine the volume of the biggest piece of cake that resulted from these two cuts.

Input
The input consists of a single line containing three
integers
Each cake is
Output
Display the volume (in cubic centimeters) of the largest of the four pieces of cake after the horizontal and vertical cuts are made.
Sample Input 1 | Sample Output 1 |
---|---|
10 4 7 |
168 |
Sample Input 2 | Sample Output 2 |
---|---|
5 2 2 |
36 |
Sample Input 3 | Sample Output 3 |
---|---|
4 2 1 |
24 |