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 hats, the rest to you YOU: i'd like at leas tone hat. you can have one book THEM: ok, i'll take two hats, one ball, and all the books to you YOU: i'll take two books and one ball THEM: perfect, i'll take the hats only YOU: ok deal.

Output: No

Input: Consider Input: THEM: hi, i would like the book and hats and you can have the ball YOU: i need the book at least THEM: i cant let go of the book. how about you get the ball and 1 hat? YOU: hats have zero value for me THEM: sorry then i guess we cant make a deal YOU: sorry. THEM: no dea ; YOU: yeah, zorry THEM: no worries YOU: thanks.

Output: No

Input: Consider Input: THEM: what would you like YOU: hello! id like the ball and books, and you can have the hats. THEM: i need hats and a ball YOU: deal. THEM: deal.
Output: Yes