John bought 5 notebooks and 3 pens. Each notebook costs $4, and the total cost for the notebooks and pens was $29. How much does each pen cost? Let's think step by step and output the final answer within \boxed{}.
user