How does the sentence end?

In the morning, Betty had more pain in their back than Mary because
Pick your answer from:
(A). Betty had slept on the floor.;
(B). Mary had slept on the floor.;
(A).