Kim bought 24 apples at the market. She put 4 apples into each of 4 drawers in her kitchen. She gave the rest of them to her friend. How many apples did her friend get?

A16
B40
C10
D8