Half of the 24 students in Ms.martinezs class have pets half of the students with pets have cats half of the students with cats have dogs how many students have dogs