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

Input: Consider Input: THEM: i would like one of everything  YOU: i would like just the hat  THEM: the hat is something i need or we won't be able to make an agreement  YOU: hmmmm. same with me.  THEM: is there any way you can make this work without taking the hat?  YOU: hat is all i need  THEM: i'm going to get shafted here but i'd rather meet an agreement then not.

Output: Yes


Input: Consider Input: THEM: i need the ball and two books.  YOU: i can give all books if i can have the ball and hat  THEM: i need the ball. you can have the books.  YOU: ok, ball for you, if i get the rest  THEM: deal.

Output: Yes


Input: Consider Input: THEM: hi i would like the hat and balls and you can have the books  YOU: i can't make a deal without the hat, it's too valuable. i'd also like the books. no use for the balls.  THEM: i cant make a deal without it either. looks like we wont be reaching a deal  YOU: no deal  THEM: no deal  YOU: no deal  THEM: no deal  YOU: no deal  THEM: no deal  YOU: no deal.


Output: No


