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: if i can have the hats and the books you can have the balls THEM: i need the books. how about 1 book and the balls. you can have the hats YOU: okay so we split the books? THEM: yes and you take hats YOU: okay deal.

Output: Yes

Input: Consider Input: THEM: i need the ball and 2 hats YOU: ok, how about 1 hat and 1 ball for you and the rest mine? THEM: i'm going to need the ball and both hats YOU: ok deal.

Output: Yes

Input: Consider Input: THEM: can i get the hat? YOU: and i have the books and the balls? THEM: yes. YOU: okay agreed.
Output: Yes