題目來源:judgegirl from ntu prof. pangfeng Liu
Task Description
Write a program to compute the surface area and the volume of this box.
Input Format
There are five lines in the input for , and , respectively.
Output Format
There are two lines in the output. The first line has the surface area, and the second line has the volume of the box.
Sample Input
6
8
10
1
2
Sample Output
472
392