import math L, K = map(int,input().splite()) print(math.floor(L/(k*2)) / K)