import java.util.*;

class Test {
 public static void main(String[]args) {
   Scanner reader=new Scanner(System.in);
  int product=1;
  while(reader.hasNextInt()) {
      int x=reader.nextInt();
   product=product*x;
  }
  System.out.println(product);
 }
}

posted on 2013-03-05 19:20  翻滚的小豆哥  阅读(121)  评论(0编辑  收藏  举报