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