A 10-ounce box of cereal costs $3. A 20-ounce box of the same cereal costs $5. A third box of the same cereal costs $8. Calculate the number of ounces in the third box of cereal.