← All problems‹ PrevNext ›Sum of an ArrayEasy#basics#arrays· solved by 0 · time limit 2.0 sRead nnn integers and print their sum.InputThe first line has nnn. The second line has nnn integers.OutputThe sum.Constraints1≤n≤1051 \le n \le 10^51≤n≤105, ∣ai∣≤109|a_i| \le 10^9∣ai∣≤109 — use 64-bit integers.Sample 1Input5 1 2 3 4 5 Output15