n = int(input())
count = 0
for i in range(n + 1):
    if i % 2 != 0:
        count += 1

print(float(count / n)) n = int(input()) n int(input()) int input() input count = 0 count 0 for i in range(n + 1):
    if i % 2 != 0:
        count += 1 i range(n + 1) range n + 1 n 1 if i % 2 != 0:
        count += 1 i % 2 != 0 i % 2 i 2 0 count += 1 count 1 print(float(count / n)) print float(count / n) float count / n count n count += 1 1 count n = int(input()) int(input()) n count = 0 0 count
n = int(input())
count = 0
for i in range(n + 1):
    if i % 2 != 0:
        count += 1

print(float(count / n))