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

Input: Consider Input: THEM: give me the book and ahts  YOU: no deal  THEM: gimme book and balls  YOU: sounds good, i will take the hats.

Output: Yes


Input: Consider Input: THEM: do you want the books and the hat?  YOU: i want one book and one ball and one hat.  THEM: well, i will do what you need i suppose, but the ball is literally the only one worth any value to me. 10 for that one : (  YOU: let's do the book and the hats for me. i'll give you the ball.  THEM: you are very sweet, i appreciate your kindness good sir.

Output: Yes


Input: Consider Input: THEM: hi, i need the two hats and a book and you could keep the ball and 2 books  YOU: you can have all the books if i can keep the ball and the hats  THEM: no i need the 2 hats and atleast one book its a fair deal  YOU: i do not need the books. i do need the ball and 1 hat.  THEM: okay then one hat you could take and i will take one as well and all the books. you could have the ball and one hat  YOU: that sounds like a deal to me. agreed.


Output: Yes


