A librarian put 42 books back on the shelves before lunch. Of the books, 14 were non-fiction. What is the ratio of the number of non-fiction books to the total number of books the librarian put away before lunch?
A.
2 to 1
B.
3 to 1
C.
1 to 2
D.
1 to 3