For some dumb reason, hot dogs come in packages of 10 and hot dog buns come in packages of 8. If you went to the store and wanted to end up with the same number of hot dogs as buns, what is the least number of each package you would have to buy?