Competitions
Week 12: February 8 - 14
Sum of elements
Given sequence of n real numbers. Find the sum of all its elements.
Input
First line contains number n (n ≤ 100). Next line contains n real numbers, each of them is no more than 100 by absolute value.
Output
Print the sum of all sequence elements with 1 digit after the decimal point.
Input example #1
5 1.2 1.3 5.7 1.8 12.4
Output example #1
22.4