Liam goes to a book fair with $50. He buys a novel for $20 and a science book that is priced 30% less than the novel. After purchasing these two books, he decides to buy a few notebooks, each costing $2.50. If he spends all his money, how many notebooks did Liam buy? Let's think step by step and output the final answer within \boxed{}.
user