A librarian put 36 books back on the shelves before lunch. Of the books, 12 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?