You saved $35 to buy two books. The first book cost an unknown amount and the second book cost $24. If you don't have any money left over, how much did the first book cost?