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?