import java.util.Scanner;
class Box{
int width;
int length;
int heigth;
void setBox(int l,int w,int h){
width=w;
length=l;
heigth=h;
}
int volume() {
int ar;
ar=width*length*heigth;
return ar;
}
}
public class by {
public static void main(String args[]) {
Box b;
b=new Box();
int w,l,h;
Scanner r=new Scanner(System.in);
l=r.nextInt();
w=r.nextInt();
h=r.nextInt();
b.setBox(l,w,h);
System.out.println(b.volume());
}
}
class Box{
int width;
int length;
int heigth;
void setBox(int l,int w,int h){
width=w;
length=l;
heigth=h;
}
int volume() {
int ar;
ar=width*length*heigth;
return ar;
}
}
public class by {
public static void main(String args[]) {
Box b;
b=new Box();
int w,l,h;
Scanner r=new Scanner(System.in);
l=r.nextInt();
w=r.nextInt();
h=r.nextInt();
b.setBox(l,w,h);
System.out.println(b.volume());
}
}