InSarah's math class, 20% of students earned an A on a test. If there were 30 students in a class, how many got an A?