Mia has set up a lemonade stand outside her house and sells small and large cups of lemonade. Each small cup holds 12 ounces and each large cup holds 22 ounces. Mia sold 80 cups of lemonade totaling 1460 ounces. Determine the number of small cups sold and large cups sold.