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 ball and 2 books. YOU: deal.

Output: Yes

Input: Consider Input: THEM: you can have the ball if i can have the books and the hat. YOU: i need the ball and hat you can have all the books. THEM: i'll take all the books, but i really need the hat. you can have the ball. YOU: i lose the hat i need two of the books. THEM: can't do. you can have the hat and ball. YOU: i will take the hat and ball.

Output: Yes

Input: Consider Input: THEM: i'd like the book and hats please YOU: i'd like only the book THEM: sorry i need the book, i' m not working with a lot. YOU: then i'd take both balls and a hat THEM: okay, i'll take 1 book and 1 hat.
Output: Yes