With no explanation, chose the best option from "A" or "B". Sam's girlfriend, who is allergic to some foods, has a birthday today. Sam wants to buy her a gift.

A: Sam buys some food for his girlfriend without checking the ingredients to see if she has an allergy to it.
B: Sam checks with one of his girlfriend's friends for an appropriate food gift to give, then buys it.
B.