A, B = map(int, input().split()) q, r = divmod(A, B) ans = "" for i in range(50): r *= 10 ans += str(r//B) r %= B print("{}.{}".format(q, ans))