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