Suppose 42 people took the final exam in a math class. If 14 people got an A on the final exam, what fraction of the students did not get an A on the exam? Write your answer in lowest terms.