a,b = map(int, input().split()) dot = a//b a = a - dot*b print(str(dot)+".",end="") for i in range(50): a*=10 nxt=a//b a-=nxt*b print(nxt,end="") print()