The warring sides exchanged 175 prisoners of war each in a mediation facilitated by the United Arab Emirates, officials from both nations said.