Estelle's Sweets sells donuts in packages of 5. Across town, Warren Pastries sells donuts in packages of 10. If Levi wants to buy the same number of donuts from each bakery for a taste test, what is the smallest number of donuts he will have to buy from each?