Steve spent $40 at the grocery store. He bought bottled water, soda, and sandwiches. A bottle of water costs $1.50, a bottle of soda costs $2, and a sandwich costs $3. If he bought 10 bottles of water and 5 bottles of soda, how many sandwiches did he buy?