Find the sum of values for the function
in some integers.
First line contains the number of points n (1 ≤ n ≤ 50). Next line contains n integers x[1]
, x[2]
, ..., x[n]
- the points where the function must be calculated and summed up (0 ≤ |x[i]
| ≤ 10^9
).
Print one number - the sum of function values f(x) at given points. The answer is correct if its accuracy is no less than 10^(-9)
.