A store has two brands of pencils on sale for the day. Brand A comes in packs of 4 and Brand B comes in packs of 10. If an equal number of each brand sold, what is the minimum number of each sold.