a, b = map(int, input().split()) q, r = divmod(a, b) ans = str(q) + '.' for _ in range(50): a = r * 10 q, r = divmod(a, b) ans += str(q) print(ans)