a,b=map(int,input().split()) d=(a*10**30)//b d1=abs(d)//(10**30) d2=abs(d)%(10**30) pm="" if a*b<0: pm="-" print(pm+str(d1)+"."+str(10**30+d2)[1:])