After 14 eighth graders got on the school bus, there were 42 students on the bus. How many were on the bus before the eighth graders got in?