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

Input: Consider Input: THEM: gimme ballz  YOU: you can have balls if i can have the rest  THEM: gimme a book with the ball  YOU: no. you can only have ball if i can have all books and all hats.  THEM: bad deal for me then... why so mean?  YOU: bad deal for me, they didn't give me a lot to work with.  THEM: one of each for me, 2 books for u  YOU: no deal.  THEM: oh noes. gimme ball and a book  YOU: 1 ball for you. 3 books and 1 hat for me.  THEM: gimme ball and book  YOU: no deal.  THEM: i found a stale french fry.... i'll throw that in the pot. you good with that?

Output: No


Input: Consider Input: THEM: hey what do you want?  YOU: you first  THEM: both books  YOU: i can give you 1 book and a hat  THEM: what about a book and ball?  YOU: both books then  THEM: i'll give you 2 balls for 2 books  YOU: i'll give you 2 books and i'll take the rest...  THEM: hmmm i'll give you the 2 balls and 1 hat  YOU: nope  THEM: ok whatever 2 books for everything.

Output: No


Input: Consider Input: THEM: i'll give you 1 book and 1 hat  YOU: how about all the balls and the book  THEM: can't do that. i'll give you 1 ball and either 1 hat or 1 book  YOU: ill take one book and one ball.


Output: Yes


