Hot dogs come in packages of 6. Hot dog buns come in packages of 8. Antonio will buy the same number of hot dogs as hot dog buns. How many hot dogs could he buy?