Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
One 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.
Solution is here: No
Explanation: Both participants do not agree to the deal, so the answer is No.

Now, solve this: THEM: ill take the hat and the books you can have the ball  YOU: i only like hats  THEM: too bad you can have the ball and 1 book  YOU: i can't read. i need the hat for the bad weather and i only have one leg so the ball is no good to me.  THEM: too bad i want the hat  YOU: fine take the hat i will take the rest,  THEM: no i want the hat and the books  YOU: nope  THEM: you can give me either the hat and 3 books or the hat 2 books and 1 ball  YOU: no you can have 2 books and the hat  THEM: okay deal  YOU: thanks.
Solution:
Yes