A coffee shop is having a sale on prepackaged coffee and tea. Yesterday they sold 46 packages of coffee and 22 packages of tea, for which customers paid a total of $478. The day before, 46 packages of coffee and 19 packages of tea was sold, which brought in a total of $463. How much does each package cost?