400
Amani and Saniyah are helping arrange Ms. Stark's classroom library into categories: animals, superheroes, and mysteries. There were 139 books about animals, 118 books about superheroes, and 39 less mystery books than there were animal books.
How many total books did Amani and Saniyah find in all three categories?
257