Lucy earns 52 dollars each week working part-time at a bookstore. She earns one additional dollar for each book that she sells. Let A be the amount (in dollars) that Lucy earns in a week if she sells B books. Write an equation relating A to B. Then use this equation to find the amount of money Lucy earns if she sells 24 books.

A = B + 52

A = 24 + 52