The Lehigh Library held a used-book sale to raise money for new computers. On the first day of the sale, the library sold 7 paperback books for every 5 hardcover books. If the library sold 32 more paperback books than hardcover books on the first day of the sale, how many books were sold that day in all?