a, b=map(int, input().split()) for i in range(50): a*=10 s=str(a//b) ans=s[:-50] if ans=="": ans="0" ans+="." ans+=s[-50:] for i in range(50-len(s[-50:])): ans+="0" print(ans)