n = int(input())

if n % 2 == 0:
    n1 = n / 2
    print(n1 / n)
else:
    n2 = (n - 1) / 2
    print((n2 + 1) / n) n = int(input()) n int(input()) int input() input if n % 2 == 0:
    n1 = n / 2
    print(n1 / n)
else:
    n2 = (n - 1) / 2
    print((n2 + 1) / n) n % 2 == 0 n % 2 n 2 0 n1 = n / 2 n1 n / 2 n 2 print(n1 / n) print n1 / n n1 n n2 = (n - 1) / 2 n2 (n - 1) / 2 n - 1 n 1 2 print((n2 + 1) / n) print (n2 + 1) / n n2 + 1 n2 1 n n2 = (n - 1) / 2 (n - 1) / 2 n2 n1 = n / 2 n / 2 n1 n = int(input()) int(input()) n
n = int(input())

if n % 2 == 0:
    n1 = n / 2
    print(n1 / n)
else:
    n2 = (n - 1) / 2
    print((n2 + 1) / n)