A flashlight and battery sell together for $9. If the flashlight costs $5 more than the battery, what is the price of each item?