Level 2
A library has a certain number of books. In January, the library bought 325 new books and 280 books were loaned out. In February, the library lost 350 books and loaned out 210 books, after which 2831 books were left. How many books were there in the library in the beginning of January?