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

Input: Consider Input: THEM: i'd like the book and the balls, you can have all the hats.  YOU: deal.

Output: Yes


Input: Consider Input: THEM: hello! i'd like the two balls and the hat, you can have the books.  YOU: no deal  THEM: ok, i'd need two balls. you can have the hat and both books then.  YOU: how about no  THEM: well you're not offering me any ideas. what are you offering?  YOU: i can give you hat and one book  THEM: i'm unable to do that. at the very least, i'd need both balls, you keep the hat and both books.  YOU: yeah not gonna happen, just click on no deal  THEM: ok, no deal. we have to keep saying, "no deal" until the button becomes active.  YOU: no deal.

Output: No


Input: Consider Input: THEM: ill take the books and the ball  YOU: how about i take 1 book and wo hats and you take the rest?  THEM: that doesnt give me enough points  YOU: how about i take 3 books and you take the rest?  THEM: thats even worse  YOU: it's actually the same  THEM: for you maybe  YOU: offer me a better deal than the 1 st one  THEM: i cant  YOU: so we agree on you take two books and the ball and i take two hats and one book  THEM: no  YOU: counter  THEM: no deal.


Output: No


