At a book store, 5 fiction books are sold for every 7 nonfiction books sold. How many total books were sold if 35 nonfiction books were sold?