Sarah has $50 and wants to buy packs of pens that cost $4 each. After buying as many packs as possible, she decides to save half of the remaining money and use the other half to buy notebooks, which cost $2 each. How many notebooks can she buy? Let's think step by step and output the final answer within \boxed{}.
user