Meenu has some money. She can buy 40 books or 90 pens with it. She keeps 20% of the money for food and with the remaining buys 36 pens and some books. Find the number of books she buys.