a = int(input())
print(1 / 2 if a % 2 == 0 else (a + 1) / (2 * a)) a = int(input()) a int(input()) int input() input print(1 / 2 if a % 2 == 0 else (a + 1) / (2 * a)) print 1 / 2 if a % 2 == 0 else (a + 1) / (2 * a) a % 2 == 0 a % 2 a 2 0 1 / 2 1 2 (a + 1) / (2 * a) a + 1 a 1 2 * a 2 a a = int(input()) int(input()) a
a = int(input())
print(1 / 2 if a % 2 == 0 else (a + 1) / (2 * a))
