N = int(input())
print("{:.10f}".format((N//2)/N) if N%2 ==0 else "{:.10f}".format((N//2+1)/N)) N = int(input()) N int(input()) int input() input print("{:.10f}".format((N//2)/N) if N%2 ==0 else "{:.10f}".format((N//2+1)/N)) print "{:.10f}".format((N//2)/N) if N%2 ==0 else "{:.10f}".format((N//2+1)/N) N%2 ==0 N%2 N 2 0 "{:.10f}".format((N//2)/N) "{:.10f}".format "{:.10f}" format (N//2)/N N//2 N 2 N "{:.10f}".format((N//2+1)/N) "{:.10f}".format "{:.10f}" format (N//2+1)/N N//2+1 N//2 N 2 1 N N = int(input()) int(input()) N
N = int(input())
print("{:.10f}".format((N//2)/N) if N%2 ==0 else "{:.10f}".format((N//2+1)/N))