Science fiction books account for 1/6 of the total.
The total number is140/(1-1/6-0.25) =140/(7/12) = 240 copies.
A: I bought three kinds of 240 books.