Andy and Barry went to candy world. Andy had $25 and Barry had $10. Together they spent $22. Together how much money did they have when they left?