N = int(input())

odd = N//2+(N%2==1)

print(odd/N) N = int(input()) N int(input()) int input() input odd = N//2+(N%2==1) odd N//2+(N%2==1) N//2 N 2 N%2==1 N%2 N 2 1 print(odd/N) print odd/N odd N odd = N//2+(N%2==1) N//2+(N%2==1) odd N = int(input()) int(input()) N
N = int(input())

odd = N//2+(N%2==1)

print(odd/N)