a,b = map(int, input().split()) p,q = divmod(a,b) s = [str(p),"."] for _ in range(50): p,q = divmod(q*10,b) s.append(str(p)) print("".join(s))