n = int(input())
count = 0
for i in range(1, n+1):
  if i % 2 != 0:
    count += 1
a = count / n
print(a) 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 a = count / n a count / n count n print(a) print a a = count / n count / n a 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
a = count / n
print(a)