Problem1606--求乘积 (课程A)

1606: 求乘积 (课程A)

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

输入 n 个整数,求它们之中所有数的积。

Input

第一行1个整数n,范围在[1,15]。
第二行有n个[-10,10]范围的整数,整数间用一个空格分隔。

Output

只一个整数,它们的积。

Sample Input Copy

3
2  -8  5

Sample Output Copy

-80

Source/Category