n=int(input())
s=[i for i in range(1,n+1)]
sum=0
for i in range(n):
  if s[i]%2!=0:
    sum=sum+1
print(sum/n) n=int(input()) n int(input()) int input() input i for i in range(1,n+1) for i in range(1,n+1) i range(1,n+1) range 1 n+1 n 1 for i in range(1,n+1) i s=[i for i in range(1,n+1)] s [i for i in range(1,n+1)] sum=0 sum 0 for i in range(n):
  if s[i]%2!=0:
    sum=sum+1 i range(n) range n if s[i]%2!=0:
    sum=sum+1 s[i]%2!=0 s[i]%2 s[i] s i 2 0 sum=sum+1 sum sum+1 sum 1 print(sum/n) print sum/n sum n sum=sum+1 sum+1 sum sum=0 0 sum s=[i for i in range(1,n+1)] [i for i in range(1,n+1)] s n=int(input()) int(input()) n
n=int(input())
s=[i for i in range(1,n+1)]
sum=0
for i in range(n):
  if s[i]%2!=0:
    sum=sum+1
print(sum/n)
