Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.

Q: THEM: i'd like hat and books. YOU: hats are worth three for me so no. THEM: then i'll take books. you can have the rest.

A: Yes
****
Q: THEM: i would like the three books and the ball. YOU: i can't, the ball is mine THEM: fine - you can have the ball. i'll take the three books and two hats. YOU: one hat THEM: deal.

A: Yes
****
Q: THEM: i'd like the ball and the books ; are the hats of any value to you? YOU: yeah, i'll take three hats.

A:
Yes
****