A, B = map(int, input().split()) L = [] Q, R = divmod(A, B) L += [str(Q)] L += ['.'] for _ in range(50): Q, R = divmod(R*10, B) L += [str(Q)] S = ''.join(map(str, L)) print(S)