A survey of a local high school asked students to name their favorite subject. One out of every 12 students said that their favorite subject was math. If 34 students said that math is their favorite, how many students took the survey