a,b=map(int,input().split()) s=str('{:051}'.format(a*10**50//b)) print(s[0]+'.'+s[1:])