# 別解2(先に10**50かけちゃう) a,b=map(int,input().split()) d,r=divmod(a,b) imag=r*10**50//b print(f'{d}.{imag:0=50}')