import sys
N = int(input())

if not ( 1 <= N <= 100 ):sys.exit()

print(1-(int(N/2)/N)) import sys sys N = int(input()) N int(input()) int input() input if not ( 1 <= N <= 100 ):sys.exit() not ( 1 <= N <= 100 ) 1 <= N <= 100 1 <= N 1 N 100 print(1-(int(N/2)/N)) print 1-(int(N/2)/N) 1 int(N/2)/N int(N/2) int N/2 N 2 N N = int(input()) int(input()) N
import sys
N = int(input())

if not ( 1 <= N <= 100 ):sys.exit()

print(1-(int(N/2)/N))