a, b = map(int, input().split()) q = (a*10**50)//b q = str(q) if len(q) <= 50: q = '0'*(50-len(q))+q ans = '0'+ '.' + q[len(q)-50:len(q)] else: ans = q[0:len(q)-50] + '.' + q[len(q)-50:len(q)] print(ans)