Hotdogs come in packages of 10, while rolls come in either 8 or 12. What is the smallest number of packages of each you have to buy in order to have the same number of hotdogs and rolls?
Please explain the answer.