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

THEM: i need the book and 1 hat and you can take the rest? YOU: i need the book as well. if you take the book i need everything else THEM: okay i will take the book and you take everything else YOU: okay thank you.
Yes

THEM: what if i get one of each? YOU: i need the ball. you can have both books and i take the hats. THEM: can't do that. how about i get the ball and one hat? YOU: how about i get the ball and one hat. THEM: can't do that. what if i get the ball and both books. YOU: the ball is the only thing i can't move on. i need to keep it. how about i keep the ball and the two books. THEM: i can't. i need the ball. what if i get the ball and you take the rest? YOU: deal. THEM: deal.
Yes

THEM: can i have two books and one ball? YOU: what if you take both books and i get both balls and we split the hats THEM: okay that works! thank you!
Yes