Sum of inverse squares#10168

Sum of inverse squares

1 second
128 megabytes
Medium

Given value of , find the sum

\sum_{k=1}^{n} \frac{1}{k^2}

Input

One positive integer (n \leq 10^9).

Output

Print the value of the sum with decimal digits.

Examples

Example 1

Loading
Loading

Example 11

Loading
Loading