import java.util.*;
public class Homework2_2{
public static void main(String args[]){
Scanner reader=new Scanner(System.in);
int sum=1;
int m=0;
while(reader.hasNextInt()){
int x=reader.nextInt();
m=m+1;
sum=sum*x;
}
System.out.printf("%d 个整数的乘积为%d\n",m,sum);
}
}
public class Homework2_2{
public static void main(String args[]){
Scanner reader=new Scanner(System.in);
int sum=1;
int m=0;
while(reader.hasNextInt()){
int x=reader.nextInt();
m=m+1;
sum=sum*x;
}
System.out.printf("%d 个整数的乘积为%d\n",m,sum);
}
}