The Silvergrove Public Library used a grant to purchase 2650 books . Now the library has a total of 8500 books . How many books did the library have before the grant?