import java.util.*;
public class A{
public static void main(String args[]){
Scanner reader=new Scanner(System.in);
int s=1;
while(reader.hasNextInt()){
int x=reader.nextInt();
s=s*x;
}
System.out.printf("乘积为:"+s);
}
}
public class A{
public static void main(String args[]){
Scanner reader=new Scanner(System.in);
int s=1;
while(reader.hasNextInt()){
int x=reader.nextInt();
s=s*x;
}
System.out.printf("乘积为:"+s);
}
}