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