#abc272a. A - Integer Sum

A - Integer Sum

Score : 100100 points

问题描述

你已知 NN 个整数 A1,A2,,ANA_1,A_2,\dots,A_N

请找出这 NN 个整数的和。

以上为通义千问 qwen-max 翻译,仅供参考。

Problem Statement

You are given NN integers A1,A2,A_1,A_2,\dots, and ANA_N.

Find the sum of the NN integers.

Constraints

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

Input

The input is given from Standard Input in the following format:

NN

A1A_1 A2A_2 \dots ANA_N

Output

Print the answer.

Sample Input 1

3
2 7 2

Sample Output 1

11

You are given three integers: 22, 77, and 22.

The answer is 2+7+2=112 + 7 + 2 = 11.

Sample Input 2

1
3

Sample Output 2

3

update @ 2024/3/10 11:27:21