n = int(input())
print(((n-1)/2+1)/n if n % 2 != 0 else '0.5') n = int(input()) n int(input()) int input() input print(((n-1)/2+1)/n if n % 2 != 0 else '0.5') print ((n-1)/2+1)/n if n % 2 != 0 else '0.5' n % 2 != 0 n % 2 n 2 0 ((n-1)/2+1)/n (n-1)/2+1 (n-1)/2 n-1 n 1 2 1 n '0.5' n = int(input()) int(input()) n
n = int(input())
print(((n-1)/2+1)/n if n % 2 != 0 else '0.5')