def f(x, n): if n == 0: return x else: return x / (n + f(x, n-1)) a, b = list(map(int, input().split())) result = f(a, b) print("%.2f" % result)