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

Ex Input:
THEM: if i can have the balls and the hats you can have the book YOU: how about i get 1 hat and the book THEM: okay deal.

Ex Output:
Yes

Ex Input:
THEM: i'd like the ball and one hat YOU: you can have everthing except the ball THEM: i really need the ball, you can have the rets YOU: it seems there's no deal here THEM: right YOU: i think we have to waste a few lines first THEM: oh, ok, so i would still like the ball YOU: i too would still like the ball THEM: you can have the rest, smiles YOU: i can but i won't.

Ex Output:
No

Ex Input:
THEM: hey there. i'd like the book and 2 balls. you get the hat and 1 ball? YOU: no can do, i need the balls and the book or hats THEM: you get both hatss, 2 balls. i get 1 ball, 1 book. YOU: i need 3 balls and 2 hats, you take the book THEM: that won't work for me. i will be well under in points. i tried to concede already by taking just 1 ball and 1 book ; that's the best i am willing to go in this situtuation. unless you want the book and the hats and give me all 3 balls. YOU: ok ill take 2 balls and the hats deal? THEM: deal.

Ex Output:
Yes