N = int(input())

g = 0
for n in range(1, N + 1):
    if n % 2 == 0:
        g += 1

ANS = (N - g) / N

print(ANS) N = int(input()) N int(input()) int input() input g = 0 g 0 for n in range(1, N + 1):
    if n % 2 == 0:
        g += 1 n range(1, N + 1) range 1 N + 1 N 1 if n % 2 == 0:
        g += 1 n % 2 == 0 n % 2 n 2 0 g += 1 g 1 ANS = (N - g) / N ANS (N - g) / N N - g N g N print(ANS) print ANS ANS = (N - g) / N (N - g) / N ANS g = 0 0 g N = int(input()) int(input()) N g += 1 1 g
N = int(input())

g = 0
for n in range(1, N + 1):
    if n % 2 == 0:
        g += 1

ANS = (N - g) / N

print(ANS)