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

Ex Input:
THEM: do you have a basketball i can get from you? YOU: if i am able to get the hats and the books from you then you can have the ball. THEM: i can give you three hats in exchange for the ball, but i can't part with the books YOU: my final offer will be for me to take three hats and one book and you can have the rest. THEM: that's a deal. YOU: great! thank you!

Ex Output:
Yes

Ex Input:
THEM: you take the balls, i take the books and the hat YOU: i keep the hat you take everything else THEM: i can't do that, i need the hat or no deal YOU: same here, no deal THEM: no deal YOU: no deal THEM: no deal YOU: no deal THEM: no deal YOU: no deal.

Ex Output:
No

Ex Input:
THEM: i need the two books, you can have the rest YOU: can i just have one book and you can have one book and one ball THEM: no YOU: how much are the books for you? THEM: four YOU: fine, take the 2 books THEM: great.

Ex Output:
Yes