The library at school is organized by fiction and nonfiction books. There are three nonfiction books for every seven fiction books. How many total books are there if the library has 240 nonfiction books