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

Example input: 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.
Example output: No
Example explanation: Both participants do not agree to the deal, so the answer is No.
Q: THEM: hi i would like the book and balls YOU: that's not going to work for me, i can give you the hats and 1 ball while i get the book and other ball if you want THEM: no i really would like the book and 1 ball and you could have all 3 hats and the 1 ball? YOU: the hats don't do anything for me. so i either need two balls, or one ball and one book THEM: i will give you both balls if i ge the bok YOU: okay, i'll go with that THEM: okay so i will take the book and the hats YOU: yes, deal THEM: deal.
A:
No