There are 100 cookies and 80 brownies on a dessert table at a restaurant. Of these desserts, 12 cookies and 24 brownies contain nuts. What percentage of these desserts contain nuts?

A. 12%
B. 30%
C. 20%
D. 42%