Miguel is buying hamburgers and hamburger buns. Hamburgers are sold in packages of 6 each. Hamburger buns are sold in packages of 8 each. What is the least number of hamburgers and hamburger buns Miguel can buy if he wants to have an equal number of each?