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

Ex Input:
THEM: how about you get two books YOU: i really need the ball... how about i get the ball and one book? THEM: how about you get two books and one hat YOU: need the ball... no deals without the ball THEM: no deal YOU: so be it THEM: one hat and two books for you YOU: as said, no ball for me no deal THEM: no deal YOU: ok, no deal.

Ex Output:
No

Ex Input:
THEM: i want three hats and the book. YOU: can i have the book? THEM: ok, i can live without it. YOU: ok, so book and ball?

Ex Output:
Yes

Ex Input:
THEM: i would like the ball and both hats. YOU: i need the ball as well. is there any other combination that works for you? THEM: i can't do anything without the ball, i would need the ball and at least 1 hat. YOU: it seems we won't be able to reach a deal then. THEM: agreed. no deal. YOU: no deal. THEM: no deal. YOU: no deal THEM: no deal. YOU: no deal.

Ex Output:
No