e-olymp
Competitions

Arrays - 2

Sum of elements

Given sequence of n real numbers. Find the sum of all its elements.

Input

First line contains number n (n100). 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.

Time limit 1 second
Memory limit 128 MiB
Input example #1
5
1.2 1.3 5.7 1.8 12.4
Output example #1
22.4