A,B=map(int,input().split()) a='-'*((A<0)^(B<0)) A,B=abs(A),abs(B) a+=str(A//B) A%=B if A: a+='.' while A:A*=10;a+=str(A//B);A%=B print(a)