A, B = map(int,input().split()) S = str(A//B) + "." A = (A%B)*10 for k in range(50): S += str(A//B) A = (A%B)*10 print(S)