def solve(): a, b = map(int, input().split()) ans = str(a // b) + "." a %= b for i in range(50): a *= 10 ans += str(a // b) a %= b print(ans) solve()