num = int(input())
if num%2==0:
    print((num//2) / num)
else:
    print(((num//2)+1) / num) num = int(input()) num int(input()) int input() input if num%2==0:
    print((num//2) / num)
else:
    print(((num//2)+1) / num) num%2==0 num%2 num 2 0 print((num//2) / num) print (num//2) / num num//2 num 2 num print(((num//2)+1) / num) print ((num//2)+1) / num (num//2)+1 num//2 num 2 1 num num = int(input()) int(input()) num
num = int(input())
if num%2==0:
    print((num//2) / num)
else:
    print(((num//2)+1) / num)