Help. asap

A librarian put 30 books back on the shelves before lunch. Of the books, 10 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. 1 to 3
B. 1 to 2
C. 2 to 1