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