1001: 序列求和

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:313 Solved:180

Description

输入长度为 $n$ 的序列:$a_1,a_2...a_n$, 输出序列的和。

Input

共两行。
第一行,一个整数 $n$ 。
第二行, $n$ 个以空格隔开的整数。

Output

$n$个整数的和。

Sample Input Copy

5
1 2 3 4 5

Sample Output Copy

15

HINT

$1\le n \le 1000$, $0 \le a_i \le 10000$

Source/Category