N = int(input())
ans = 1 - int(N / 2) / N
print(ans) N = int(input()) N int(input()) int input() input ans = 1 - int(N / 2) / N ans 1 - int(N / 2) / N 1 int(N / 2) / N int(N / 2) int N / 2 N 2 N print(ans) print ans N = int(input()) int(input()) N ans = 1 - int(N / 2) / N 1 - int(N / 2) / N ans
N = int(input())
ans = 1 - int(N / 2) / N
print(ans)
