In the following sentence, the "в" is to or from?

Мы взяли книги в быблиотеке.
We took the books to (or from) the library?
книги - винительный падеж?
быблиотеке - предложный падеж?