There were 35 students in a class. They were given math books (each priced at $0.55) and other books the total value of which was n dollars. How much money was spent to provide the students with all these books?