n = int(input())

lis =[]
for i in range(1,n+1):
    lis.append(i)
    
odd =[]
for j in lis:
    if j % 2 != 0:
        odd.append(j)
        
print(len(odd)/len(lis)) n = int(input()) n int(input()) int input() input lis =[] lis [] for i in range(1,n+1):
    lis.append(i)
     i range(1,n+1) range 1 n+1 n 1 lis.append(i) lis.append lis append i odd =[] odd [] for j in lis:
    if j % 2 != 0:
        odd.append(j)
         j lis if j % 2 != 0:
        odd.append(j)
         j % 2 != 0 j % 2 j 2 0 odd.append(j) odd.append odd append j print(len(odd)/len(lis)) print len(odd)/len(lis) len(odd) len odd len(lis) len lis n = int(input()) int(input()) n odd =[] [] odd lis =[] [] lis
n = int(input())

lis =[]
for i in range(1,n+1):
    lis.append(i)
    
odd =[]
for j in lis:
    if j % 2 != 0:
        odd.append(j)
        
print(len(odd)/len(lis))