Andy and Barry together spent $22 at candy world. Andy spent $8 more than Barry. How much did each spend?