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

Example Input: THEM: if i can have the hats and the book you can have the balls YOU: i need a hat with the two balls THEM: you can have the balls but, i need both hats YOU: that wont work for me THEM: then can i have one of each? YOU: i will settle for two hats THEM: i can not make the deal. i need the hats as well YOU: then i guess we don't have a deal THEM: no deal. YOU: ok no deal.
Example Output: No

Example Input: THEM: you keep the balls i keep the hat and the book YOU: sorry mate, but i need that hat. THEM: so do i, i have to have the book and the hat or no deal YOU: i'm ok with giving you the book, but not the hat. THEM: no hat, no deal YOU: no deal then, i can't give up the hat. THEM: no deal YOU: no deal. THEM: no deal YOU: i wonder how many more times we have to say no deal until we can click no deal.
Example Output: No

Example Input: THEM: hi i would like the hats and books and you can have the balls YOU: books and balls for me THEM: sorry i need the hats and books YOU: books and one ball for me THEM: deal.
Example Output:
Yes