a, b = map(int, input().split()) print(a // b, end=".") a %= b for _ in range(50): a *= 10 d, a = divmod(a, b) print(d, end="") print()