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

THEM: i want the hats and all the books. YOU: i need hats and ball THEM: take the ball and leave me the hats, lets split the books YOU: i can split the hats THEM: then you are gonna have to leave me all the books YOU: yes, you can have all the books i'll take hats and ball THEM: one hat YOU: sorry, i meant hat, yes.
Yes

THEM: can i have one book and one ball? YOU: you can have both books if i can have the ball and hats THEM: ok deal.
No

THEM: i'd like one of each kind of item. you can have the remaining three books. YOU: no. i'd like hat and ball. THEM: yes, they are nice. i'd like them also. i can let you have all 4 books. YOU: that's only 4 points. i can do all 4 books and the ball or the hat and 2 books. THEM: how about i get the ball and three books, you get the hat and the other book. YOU: have to have two books with the hat. THEM: deal.
Yes