Given the task definition, example input & output, solve the new input case.
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
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.
Output: No
Both participants do not agree to the deal, so the answer is No.

New input case for you: THEM: i'd like the book and 2 balls or the book and 2 hats.  YOU: that doesnt work for me i can offer you 1 hat  THEM: are you serious? how is that a legitmate offer?  YOU: were negoiating.........  THEM: so actually negoitate. 1 hat is a joke. i can do the two offers above or you can take the book and i get the rest.  YOU: are you serious? how is that a legitimate offer?  THEM: that gives me 5 points. the book is worth 5 for me. i don't deal for less. \  YOU: 1 book is a joke  THEM: okay. so then i'll take the book and 2 other items and you get the rest. still nets me a decent number of points.  YOU: no deal i cannot offer you that that would giv eme 5 points i dont deal for less.  THEM: then no deal.
Output:
No