def f(x, n): if n == 0: return x else: return x / (n + f(x, n - 1)) x, n = input().split() x = float(x) n = int(n) r = f(x, n) print('%.2f' % r)