Question 20
In a magical kingdom, there are dragons with two heads and dragons with three heads. There are three times as many dragons with two heads as dragons with three heads. Altogether, all the dragons have 27 heads. How many dragons are there in this kingdom?