#yuki858 a,b=map(int,input().split()) q,m=divmod(a,b) print(q,end=".") for i in range(50): q,m=divmod(m*10,b) print(q,end="") print()