N = int(input())
if N % 2:
    p = ((N//2)+1) / N
else:
    p = (N//2) / N
print(p) N = int(input()) N int(input()) int input() input if N % 2:
    p = ((N//2)+1) / N
else:
    p = (N//2) / N N % 2 N 2 p = ((N//2)+1) / N p ((N//2)+1) / N (N//2)+1 N//2 N 2 1 N p = (N//2) / N p (N//2) / N N//2 N 2 N print(p) print p p = ((N//2)+1) / N ((N//2)+1) / N p N = int(input()) int(input()) N p = (N//2) / N (N//2) / N p
N = int(input())
if N % 2:
    p = ((N//2)+1) / N
else:
    p = (N//2) / N
print(p)