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

Input: Consider Input: THEM: both hats, you get the rest  YOU: i can do that if you include one book.  THEM: so 2 hats and a book for me?  YOU: sorry, meant exchange a book for a hat in your initial offer.  THEM: hats i like alot, they fit perfect  YOU: i bet they look good on you, but my head is cold and needs a hat.  THEM: ok, how about 1 hat a piece, but i get 2 books and the ball  YOU: let's split the hats, and then you can have any two books you want and i keep my ball.  THEM: deal  YOU: ok.

Output: Yes


Input: Consider Input: THEM: i will give you 3 books for all your hats  YOU: i'll take the books and the ball then  THEM: so then if you want 1 ball i will give you that and 2 books for all your hats.

Output: No


Input: Consider Input: THEM: i want one of each  YOU: you can have a hat and a book.  THEM: can i give you all the books and a ball for a ball and hat for me?  YOU: okay.


Output: Yes


