Each student needs a pencil and an eraser to take a test. If pencils come 6 in a box and erasers come 10 in a bag, what is the least number of boxes and bags needed for 30 students to each have a pencil and an eraser?
5 boxes of pencils, 3 bags of erasers