a,b = map(int,input().split()) xx=(a*10**50)//(b) x=str(a//b) z=50-len(str(xx)) #print(xx) t=str(7/3).find('.') if x=='0': ans='0'+'.'+'0'*z+str(xx) else: ans=str(xx)[:t]+'.'+str(xx)[t:] print(ans[:52])