n = int(input())

odd = (n + 1) // 2
ans = odd / n
print('{:.9f}'.format(ans)) n = int(input()) n int(input()) int input() input odd = (n + 1) // 2 odd (n + 1) // 2 n + 1 n 1 2 ans = odd / n ans odd / n odd n print('{:.9f}'.format(ans)) print '{:.9f}'.format(ans) '{:.9f}'.format '{:.9f}' format ans odd = (n + 1) // 2 (n + 1) // 2 odd ans = odd / n odd / n ans n = int(input()) int(input()) n
n = int(input())

odd = (n + 1) // 2
ans = odd / n
print('{:.9f}'.format(ans))
