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

Input: Consider Input: THEM: i need the books and 2 balls YOU: i can give you both books and 1 ball THEM: i really need the books and 2 balls YOU: i can do 1 book and 2 balls if you want,,, i need have something THEM: that isn't quite enough i really need another item YOU: you can have 2 books and 1 ball that leaveing us both with 3 items THEM: whatever, that's fine, you don't understand the game.

Output: Yes

Input: Consider Input: THEM: i need the ball and book, you can have the three hats YOU: i need the ball or no deal THEM: i can't make that deal. i need at least the ball YOU: then no deal THEM: okay, no deal YOU: nd THEM: no deal, when does the no deal button appear YOU: after a few exchanges THEM: nd YOU: nd.

Output: No

Input: Consider Input: THEM: i would like the book one hat and one ball YOU: you can have both hats and one ball if i can get the book and two of the balls. THEM: how about i get the hats and the balls? YOU: yeah, that's fine. THEM: ok.
Output: Yes