n = int(input())

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

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

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

print("{:.10f}".format(count/n))