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

Input: Consider Input: THEM: i just need the hat. YOU: okay.

Output: Yes

Input: Consider Input: THEM: i'd like to grab that book, as well as a hat YOU: book and i keep the rest THEM: i'd like to have at least one other, i can also do book + ball YOU: ok one book and onehat for you.

Output: Yes

Input: Consider Input: THEM: the book and the hat are what i desire. i cede the balls YOU: sorry that wont work for me. i need the book and hat too THEM: i really must insist n the book but i can give the hat if it yields me two balls YOU: ok, i can do that. ill give you the book and 2 balls THEM: we have a deal.
Output: Yes