← Home
write a go solution for Description:
You are given an array of integer numbers. Calculate the sum of its elements.

Input Format:
The first line of the input contains an integer n (1 ≤ n ≤ 100) — the size of the array. Next n lines contain the elements of the array, one per line. Each element is an integer between 1 and 100, inclusive.

Output Format:
Output the sum of the elements of the array.

Note:
None. Output only the code with no comments, explanation, or additional text.