n = int(input())
a = 0
for i in range(1,n+1):
    if i % 2 == 1:
        a += 1
print(a/n) n = int(input()) n int(input()) int input() input a = 0 a 0 for i in range(1,n+1):
    if i % 2 == 1:
        a += 1 i range(1,n+1) range 1 n+1 n 1 if i % 2 == 1:
        a += 1 i % 2 == 1 i % 2 i 2 1 a += 1 a 1 print(a/n) print a/n a n n = int(input()) int(input()) n a = 0 0 a a += 1 1 a
n = int(input())
a = 0
for i in range(1,n+1):
    if i % 2 == 1:
        a += 1
print(a/n)