BeginnerLoops2000 ms256 MB
Completed Modules
A student earns points for each completed module. Given `n` point values, compute the total.
Statement
A student earns points for each completed module. Given `n` point values, compute the total.
Input
The first line contains `n`. The second line contains `n` integers.
Output
Print the sum of the integers.
Constraints
- `1 <= n <= 1000`
Examples
Example 1
Input
4
10 15 10 20Output
55The total is 10 + 15 + 10 + 20.
Sample runs use visible examples. Full submissions are checked securely on the server, and private test cases are not shown in the browser.