The number of children at the library was 3 times the number adults. The total number of people at the library was 48. How many children were at the library


A 12

B 24

C 32

D 36