a,b = map(int, input().split()) c = 0 bb = b while bb <= a: bb *= 10 c += 1 a *= 10**(50) s = str(a//b) print(("0" if c==0 else "") + s[:c] + "." + s[c:])