import math
N = int(input())
mol = math.ceil(N/2) if N % 2 != 0 else N//2
print(mol/N) import math math N = int(input()) N int(input()) int input() input mol = math.ceil(N/2) if N % 2 != 0 else N//2 mol math.ceil(N/2) if N % 2 != 0 else N//2 N % 2 != 0 N % 2 N 2 0 math.ceil(N/2) math.ceil math ceil N/2 N 2 N//2 N 2 print(mol/N) print mol/N mol N mol = math.ceil(N/2) if N % 2 != 0 else N//2 math.ceil(N/2) if N % 2 != 0 else N//2 mol N = int(input()) int(input()) N
import math
N = int(input())
mol = math.ceil(N/2) if N % 2 != 0 else N//2
print(mol/N)
