There are 40 tables in a library, with 30% of them seating 4 people. The tables remaining only seat 2 people. How many seats are there in the library?