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

[Q]: THEM: i'd like the books and balls, you can have the hats YOU: ill take the hats but i need the balls as well THEM: i need at least one ball and all the books. deal? YOU: i can offer you the books and 1 hat THEM: hats are worthless to me. i'll take books, you can have the rest YOU: ok deal.
[A]: Yes

[Q]: THEM: if i can have the hats and the balls you can have the book YOU: i'll take the hats and book. you can have the basketballs. THEM: i need at least one hat as well YOU: the balls and book are of little value. i have to have the hats to make it a decent deal. THEM: would you be willing to accept one hat and the book? YOU: you have no need for the book? THEM: it is of little value to me YOU: would you be willing to take the balls and book and let me have both hats? THEM: okay deal. YOU: sounds good. deal!
[A]: Yes

[Q]: THEM: i need both hats and both books and a ball YOU: you need to screw off. i'll take two books a ball. THEM: how about two books and 1 ball and i get the rest? YOU: no, sorry, i asked for too much. also, sorry for the rudeness, everyone's been hardballing. you can have the ball. THEM: lol no problem, so you'll take two books and i'll take the rest? is that where we are? YOU: mhmm! deal.
[A]:
Yes