A bookstore sells notebooks and pens. Each notebook costs $5 and each pen costs $2. If the total sales amounted to $90 and the bookstore sold 10 notebooks, how many pens did they sell? Let's think step by step and output the final answer within \boxed{}.
user