Each student needs a pencil and an eraser to take a test. If pencils come 8 in a box and erasers come 12 in a bag, what is the least number of boxes and bags needed for 24 students to each have a pencil and an eraser