Mrs.Hsu bought 40 items at the bakery to take to the school where she teaches. Of the items bought, 60% were bagels.

A) how many bagels did she buy?

B) if 25% of the bagels were plain, how many plain bagels did she buy?