tom invited 8 friends to a birthday party ,but 4 couldn'tcome,if he wanted to buy enough cupcakes so each person could have exactly 2 ,how many should he have?