Naomi is thinking of a number between 12 and 28. The number is divisible by 3, and the sum of the digits is 3. What is the number?

A 15
B 18
C 21
D24