P25873 [AtCoder] Integer Sum
入门
题目描述

Problem Statement

You are given $N integers A_1,A_2,\dots$, and A_N.
Find the sum of the N integers.

Input

The input is given from Standard Input in the following format:
N
$A_1 A_2 \dots A_N$

Output

Print the answer.

Constraints

  • $1 \le N \le 100$
  • $1 \le A_i \le 100$
  • All values in the input are integers.

Sample Input 1

3
2 7 2

Sample Output 1

11

You are given three integers: 2, 7, and 2.
The answer is 2 + 7 + 2 = 11.

Sample Input 2

1
3

Sample Output 2

3

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
3 2 7 2
样例输出
11