Juan took a survey of the 30 students in his class.

Half of the students own a dog.
Two-thirds of those dog owners also own a cat.
Eight students have neither cats nor dogs.
The remaining students own a cat.
How many students own a cat?