Eliot and Fran went to the carnival together. Eliot paid for all the rides and games, and Fran paid for all the food. Together they spent $42. The rides were $4.50 per person. How much did each spend?