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

Example Input: THEM: i would like the book and all 3 balls YOU: i can not make that deal. you can have the balls but, i need everything else THEM: i can't do that. how about i give you two of the balls and that i keep the book and one of the balls? YOU: i need the book or no deal. THEM: i'd like to keep the book but i'll give you the rest YOU: i can not give up the book. are you willing to make another offer THEM: i'm sorry, i would rather keep the book and give you the hat and all 3 balls YOU: i can not make a deal without the book... so you can have everything else or no deal. THEM: i guess it will be no deal because i want the book YOU: no deal.
Example Output: No

Example Input: THEM: hello there. so, i'd really love to get the hat. YOU: you get hat, i get all rest THEM: i'll give you one book, and all the basketballs. YOU: both books and 2 basketballs to me THEM: i'll do both books, you can have the hat and the balls then. YOU: ok THEM: good deal.
Example Output: Yes

Example Input: THEM: what is most valuable to you? YOU: need books and one ball THEM: the balls are valuable to me as well. i would prefer the hat and two balls, and i would be glad to give you the books. YOU: can i get both books and the hat? THEM: no, i definitely need the hat. sorry. i might be able to compromise with the hat and just one ball, i suppose. YOU: gimme books and one ball then THEM: okay. that's fair.
Example Output:
Yes