A, B = map(int, input().split()) x = str(A * 10 ** 50 // B).zfill(51) print(x[:- 50], x[-50:], sep='.')