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

Q: THEM: i can offer you one ball. YOU: ha, i need the hat and 2 balls THEM: i can give you all the balls if you give me everything else YOU: i need another item with the balls to make that work THEM: i can offer you the balls and one book YOU: okay.

A: Yes
****
Q: THEM: how about you get the book YOU: i want the book and both hats THEM: one hat YOU: ok, if i can get one ball too THEM: never YOU: you can have both balls if i can have everything else THEM: deal.

A: Yes
****
Q: THEM: if i can have one book and all of the balls you can have the rest YOU: i can give you all of the books and hats but i need all of the balls THEM: i can give you two balls and i can take the rest. i need the balls as well so i can take one YOU: i can give you one ball if you can give me one hat THEM: okay deal. so i will take one ball and the books. YOU: deal.

A:
Yes
****