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