A,B = map(int,input().split()) Q,R = divmod(A,B) print(Q,end=".") for _ in range(50): Q,R = divmod(R*10,B) print(Q,end="")