n = int(input())

if n%2 == 0:
    print(1/2)
else:
    n2 = (n//2) + 1 
    print(n2/n) n = int(input()) n int(input()) int input() input if n%2 == 0:
    print(1/2)
else:
    n2 = (n//2) + 1 
    print(n2/n) n%2 == 0 n%2 n 2 0 print(1/2) print 1/2 1 2 n2 = (n//2) + 1 n2 (n//2) + 1 n//2 n 2 1 print(n2/n) print n2/n n2 n n = int(input()) int(input()) n n2 = (n//2) + 1 (n//2) + 1 n2
n = int(input())

if n%2 == 0:
    print(1/2)
else:
    n2 = (n//2) + 1 
    print(n2/n)