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

Input: Consider Input: THEM: hello. which item(s) do you want the most?  YOU: i would like the books and ball. the hats i can negotiate a bit more. what about you?  THEM: the ball and hats are the highest value for me. i would be willing to give you one hat and two books if you allow me to have a ball and a hat.  YOU: unfortunately, the ball has the highest value for me as well. let's see how we can do this.  THEM: in order to make up for losing the ball, i would need all of the other items. are you willing to do that?  YOU: i'd be willing to let you have both hats and one book. how's that?  THEM: i really need both hats and both books to break even.  YOU: i need at least a book w / the ball to break even, too.  THEM: i can't agree to that.  YOU: ok. i can't agree to anything else either. wouldn't be a good deal for me.

Output: No


Input: Consider Input: THEM: you can have one book  YOU: ha, you can take all the book, i will take the hats and the ball  THEM: i want the ball and the books  YOU: i get the hats  THEM: you get the hats and nothing else  YOU: sounds good.

Output: Yes


Input: Consider Input: THEM: you can have the books if i can have the rest  YOU: i would need a ball too  THEM: sorry no deal  YOU: okay then i will take the books you can have the rest  THEM: okay deal.


Output: Yes


