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

Input: Consider Input: THEM: what would you like YOU: i'd like the books and the hat THEM: deal.

Output: Yes

Input: Consider Input: THEM: i'd like the hat and the balls ; you can keep the books YOU: okay agreed.

Output: Yes

Input: Consider Input: THEM: i would like the hat the book and one ball YOU: i need the book, along with 1 ball THEM: what if i give you all the balls and hat YOU: worth nothing to me THEM: no deal then YOU: we talk until button THEM: hat is worth everything for me YOU: hat to you, everything else to me.
Output: Yes