The school has a case of 144 snack-size candy bars and 24 sodas. If these are divided evenly among the students, how many students will get candy and soda? How many candy bars and sodas will each child get?

Is the greatest common factor or least common multiple needed in this situation?