For Loop Sum – 2

Problem Statement

Given a number n, compute the sum:

4 × (1 − 1/3 + 1/5 − 1/7 + … + (−1)ⁿ / (2n+1))

Input

A single integer n (1 ≤ n ≤ 100000).

Output

Print the value of the expression.

Example

input output
1 2.66667