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