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

THEM: i would like the balls and a book YOU: i want one book and two hats THEM: i would really like that book along with the balls. YOU: give me one ball to go with the hats THEM: no i would rather just go with the two balls and you get everything else. do we have a deal? YOU: ok deal.
Yes

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.
Yes

THEM: i'd like the ball and the book. you can have the reset YOU: i need either the ball or the book. how about i get the book and you keep the rest? THEM: okay.
Yes