One-sixth of the fourth graders and one-third of the fifth graders miss school on Friday. The absentee sheet for Friday shows the names of 8 fourth graders and 14 fifth graders. How many fourth and fifth graders are enrolled in the school?