Sum of values#2892

Sum of values

1 segundo
128 megabytes
Media (≈1350)

Find the sum of values for the function

prb2892

at some integers.

Entrada

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).

Salida

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}.

Ejemplos

Ejemplo 1

Loading
Loading

Ejemplo 2

Loading
Loading