Glenn bought a $7 coffee and 10 granola bars at the airport. If he spent a total of $24, how much did each granola bar cost?