Maria is at a store and wants to buy some pencils. Each pencil costs $0.50. If she buys 4 pencils, how much will she spend in total?