n = int(input())

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

print('{:.10f}'.format(t)) n = int(input()) n int(input()) int input() input if n%2 == 0:
    t=(n//2)/n
else:
    t=(n//2+1)/n n%2 == 0 n%2 n 2 0 t=(n//2)/n t (n//2)/n n//2 n 2 n t=(n//2+1)/n t (n//2+1)/n n//2+1 n//2 n 2 1 n print('{:.10f}'.format(t)) print '{:.10f}'.format(t) '{:.10f}'.format '{:.10f}' format t t=(n//2)/n (n//2)/n t t=(n//2+1)/n (n//2+1)/n t n = int(input()) int(input()) n
n = int(input())

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

print('{:.10f}'.format(t))