Emily went to the store to buy some pencils and pens. Each pencil costs $0.50, and each pen costs $1.00. She bought 8 pencils and 5 pens. How much did she spend in total? Let's think step by step and output the final answer within \boxed{}.
user