A,B = map(int, input().split()) ans = str(A//B) ans += "." x = (A%B)*10 for _ in range(50): ans += str(x//B) x = (x%B)*10 print(ans)