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

Example Input: THEM: i'd like 1 of each, please. YOU: i'd like the ball and a hat, rest is yours. THEM: deal.
Example Output: Yes

Example Input: THEM: can i get the hats and the books? YOU: i was hoping for the hats and the ball. the books have no value for me, so you should take them for sure. THEM: i will take them, and you can have the ball. but i need the hats YOU: i can't do a deal without any of the hats. THEM: neither can i without all the hats YOU: then no deal THEM: no deal YOU: no deal THEM: no deal YOU: no deal.
Example Output: No

Example Input: THEM: if i can have the book and the balls you can have all of the hats YOU: you can have the book but i cannot give up both balls THEM: okay then can i have the book, one ball, and one hat? YOU: you can have the book and one ball. i cannot give up a hat THEM: if that's the case i need the book and both balls YOU: that will have to work THEM: okay thank you!
Example Output:
Yes