Problem1970--做纸箱最少需要多少面积的硬纸板。

1970: 做纸箱最少需要多少面积的硬纸板。

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 16 MiB

Description

请问做一个尺寸为a * b * c(单位:厘米)的开口的立方体纸箱(只有一个面是不需要封的,其余5个面都需要封起来,这样算开口的),最少需要多少平方厘米的纸。(6.1.6

Input

三个整数:a b c

Output

制作该纸箱需要的最少硬纸板的面积,一个整数

Sample Input Copy

5 3 4

Sample Output Copy

74

Source/Category