100 atcoder#ABC142A. [ABC142A] Odds of Oddness

[ABC142A] Odds of Oddness

Score : 100100 points

Problem Statement

Given is an integer NN.

Takahashi chooses an integer aa from the positive integers not greater than NN with equal probability.

Find the probability that aa is odd.

Constraints

  • 1N1001 \leq N \leq 100

Input

Input is given from Standard Input in the following format:

NN

Output

Print the probability that aa is odd. Your output will be considered correct when its absolute or relative error from the judge's output is at most 10610^{-6}.

4
0.5000000000

There are four positive integers not greater than 44: 11, 22, 33, and 44. Among them, we have two odd numbers: 11 and 33. Thus, the answer is 24=0.5\frac{2}{4} = 0.5.

5
0.6000000000
1
1.0000000000