The manager at a restaurant keeps track of the number of calzones and slices sold each day and the total money received. On Sunday, a total of 59 calzones and slices were sold, and the money collected was $456. If calzones are sold for $9 and slices are sold for $6, how many calzones and slices were sold?