Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
--------
Question: THEM: i take the balls and you can have the rest. YOU: i need 2 balls and a book or a hat THEM: how about 1 ball, a book, and a hat? YOU: ok.

Answer: Yes

Question: THEM: i want the books. i can offer you the rest. YOU: i need atleast 1 book THEM: if i give up a book, i have to get either the hat or the ball. YOU: you can have 2 books and 1 ball THEM: deal.

Answer: No

Question: THEM: well now. i see two of everything. how about we split it down the middle? YOU: i really just need the 2 books and 1 hat THEM: hmm. i could give you the two books, but i'd need both hats and both books in exchange. YOU: you mean both balls? THEM: gah, yeah. sorry. YOU: ok i will take both books and you can have the rest THEM: deal.

Answer:
Yes