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

result = count / n

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

result = count / n

print(result)