Sum up the first 5 elements of an array
Input Format
1 line with a comma separated list of integers
Sample Input
1,2,3,4,5,6,7,8,9
Output Format The sum of the first 5 elements
Sample Output
15
You must be logged in to submit a solution.
1,2,3,4,5,6,7,8,9
15