import java.util.Scanner;
public class BOX {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
System.out.println("请输入长");
int a = sc.nextInt();
System.out.println("请输入宽");
int b = sc.nextInt();
System.out.println("请输入高");
int c = sc.nextInt();
int s = 2*(a*b+b*c+c*a);
System.out.println("表面积为"+s);
int v = a*b*c;
System.out.println("体积为"+v);
}
}