two girls went shopping and spent $334. one girls spent $16 more thent the other girl did. how much did each spend