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

Input: Consider Input: THEM: hello there. so, i'd really love to get the hat. YOU: you get hat, i get all rest THEM: i'll give you one book, and all the basketballs. YOU: both books and 2 basketballs to me THEM: i'll do both books, you can have the hat and the balls then. YOU: ok THEM: good deal.

Output: Yes

Input: Consider Input: THEM: i would like the book and a hat please YOU: i also want the book along with the ball and 1 hat.

Output: No

Input: Consider Input: THEM: i want the ball and the hats and one book YOU: so i get 2 books? no deal. you can have all the hats and 1 book, but i get the ball THEM: i take everything but the ball if i dont get the ball YOU: no, the ball isn't worth enough to me to have on its own THEM: what is worthwhile to you? YOU: ill take the ball and 1 book.
Output: Yes