N = int(input())
if N % 2 ==1:
  n = int((N+1)/2)
else:
  n = int(N/2)
res = n/N
print(res) N = int(input()) N int(input()) int input() input if N % 2 ==1:
  n = int((N+1)/2)
else:
  n = int(N/2) N % 2 ==1 N % 2 N 2 1 n = int((N+1)/2) n int((N+1)/2) int (N+1)/2 N+1 N 1 2 n = int(N/2) n int(N/2) int N/2 N 2 res = n/N res n/N n N print(res) print res n = int((N+1)/2) int((N+1)/2) n N = int(input()) int(input()) N res = n/N n/N res n = int(N/2) int(N/2) n
N = int(input())
if N % 2 ==1:
  n = int((N+1)/2)
else:
  n = int(N/2)
res = n/N
print(res)