131301 - n个数字的和

利用while循环计算n个数字的和。

Input

输入两行:

第一行为一个整数n,表示有n个整数;

第二行为n个整数,每个整数间用空格隔开。

Output

n个数字的和。

Examples

Input

3
1 2 3

Output

6
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题