Oakdale City Cafe recently introduced a new flavor of coffee. They served 24 grande cups and 32 jumbo cups of the new coffee today, which equaled a total of 29,216 grams. The day before, 24 grande cups and 54 jumbo cups were served, which used a total of 42,438 grams. How much coffee is required to make each size?