Find the sum of values for the function

at some integers.
The first line contains the number of points (1 \leq n \leq 50). The next line contains integers x_1, x_2, , x_n — the points where the function must be calculated and summed (0 \leq |x_i| \leq 10^9).
Print one number — the sum of the function values at the given points. The answer is considered correct if the absolute or relative error does not exceed 10^{-9}.
Ejemplo 1
Ejemplo 2