def digit_shift_inv(N,l,digit): S=str(N) L=len(S) if l==0: return S elif L<=l: f="0"*(l-L)+S if len(f)>=digit: return "0."+f[:digit] else: return "0."+f+"0"*(digit-l) else: f=S[-l:] if len(f)>=digit: return S[:-l]+"."+f[:digit] else: return S[:-l]+"."+"0"*(digit-l) A,B=map(int, input().split()) L=50 M=10**L print(digit_shift_inv(A*M//B,L,50))