Both responses are factually correct, but A is more helpful because it shows the full steps more clearly and is easier to read.
Both answers contain accurate information, though Response A provides greater value by presenting the complete solution process in a clearer, more readable format.