n=int(input())
li=[i for i in range(1,n+1) if i%2==1]
s=len(li)
print(s/n) n=int(input()) n int(input()) int input() input i for i in range(1,n+1) if i%2==1 for i in range(1,n+1) if i%2==1 i range(1,n+1) range 1 n+1 n 1 i%2==1 i%2 i 2 1 if i%2==1 i li=[i for i in range(1,n+1) if i%2==1] li [i for i in range(1,n+1) if i%2==1] s=len(li) s len(li) len li print(s/n) print s/n s n s=len(li) len(li) s n=int(input()) int(input()) n li=[i for i in range(1,n+1) if i%2==1] [i for i in range(1,n+1) if i%2==1] li
n=int(input())
li=[i for i in range(1,n+1) if i%2==1]
s=len(li)
print(s/n)