#L001P521. 循环练习3

循环练习3

Description

小A看中了商场里的 nn 件商品,付款时他需要付多少钱?

Format

Input

第一行:输入正整数 nn

随后 nn 行:每行输入一个正整数,表示每件商品的价格

Output

输出需要付多少钱

Samples

4
10
5
2
8
25