eolymp
bolt
Try our new interface for solving problems
Problems

Sum of elements

Sum of elements

Given sequence of $n$ real numbers. Find the sum of all its elements. \InputFile First line contains number $n~(n \le 100)$. Next line contains $n$ real numbers, each of them is no more than $100$ by absolute value. \OutputFile 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