Shane's rare book collection contains 40 books. He donates 15% of his books to the national library, sells 14 of his books to a rare book dealer, and sells 4 books online. How many books remain in Shane's book collection?