A, B = map(int, input().split()) print(f'{A//B}.{str(A*10**50//B)[-50:]:0>50}')