N = int(input())
count = 0

for i in range(1,N+1):
    if i % 2 != 0:
        count += 1
print("{:.10f}".format(count / N)) N = int(input()) N int(input()) int input() input count = 0 count 0 for i in range(1,N+1):
    if i % 2 != 0:
        count += 1 i range(1,N+1) range 1 N+1 N 1 if i % 2 != 0:
        count += 1 i % 2 != 0 i % 2 i 2 0 count += 1 count 1 print("{:.10f}".format(count / N)) print "{:.10f}".format(count / N) "{:.10f}".format "{:.10f}" format count / N count N count = 0 0 count count += 1 1 count N = int(input()) int(input()) N
N = int(input())
count = 0

for i in range(1,N+1):
    if i % 2 != 0:
        count += 1
print("{:.10f}".format(count / N))