How does the sentence end?

James should have not put the expired topping on the newly cut salad because the 

 (A). topping is rotten.
 (B). salad is rotten.
(A).