import math
N = int(input())
n_odd = math.ceil(N / 2)

print(n_odd / N) import math math N = int(input()) N int(input()) int input() input n_odd = math.ceil(N / 2) n_odd math.ceil(N / 2) math.ceil math ceil N / 2 N 2 print(n_odd / N) print n_odd / N n_odd N N = int(input()) int(input()) N n_odd = math.ceil(N / 2) math.ceil(N / 2) n_odd
import math
N = int(input())
n_odd = math.ceil(N / 2)

print(n_odd / N)