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