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

Let me give you an example: THEM: i need the hats and the ball YOU: i can give you one hat and the ball. i want 2 books and 1 hat THEM: i have to have both hats and the ball or both hats and a book to make a deal YOU: sorry, i won't make a deal without a hat THEM: if you take 1 hat i have to have everything else YOU: sorry can't do THEM: no deal YOU: yesh no deal, sorry THEM: no deal YOU: no deal.
The answer to this example can be: No
Here is why: Both participants do not agree to the deal, so the answer is No.

OK. solve this:
THEM: can i get the ball and all of the hats? YOU: sorry, i need the ball. you can have all the hats though. i would need the ball and the book. THEM: don't think i can do that. if you get the book then i need the ball and one hat YOU: hats have no value for me. i really can't go any lower than a ball and a book. THEM: what if i get the hats and the book? YOU: i can't do that either. that would leave me with just 5. THEM: and i would only have 3 if you get the ball and book. YOU: so i guess we're stuck at no deal then. THEM: yes either way you come out way better. YOU: how may points do you get if i give up the book? THEM: book and hats is only 4 YOU: so you get 8 total. that's not better for me. so no deal agreed then? THEM: no i get a total of 4 with all of the hats and the book. YOU: i can't do it without the book and the ball. sorry. no deal? THEM: okay no deal.
Answer:
No