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

Ex Input:
THEM: you take the hats, i get the book and the balls YOU: oooo. can't do that. how about you take the book and a hat? THEM: i can't make a deal with out the book and both balls YOU: i can't do that deal. the hats have no value to me. THEM: then take just the balls, i have to have the book YOU: ok. you want the book and a hat? i'll take the balls and a hat? THEM: no the hats mean nothing to me, no deal YOU: i'm taking the balls and you're taking the book. want to split the hats? THEM: i can't do that YOU: you want the book and both hats? THEM: yes YOU: ok. i can do that.

Ex Output:
Yes

Ex Input:
THEM: you can have all of the hats if i can have the book and one ball YOU: ok, you can have both balls. i'll take the hats. THEM: ok so i get the book and both balls? YOU: yes.

Ex Output:
Yes

Ex Input:
THEM: what do you need? YOU: i'd like the hat and book. THEM: thats pretty much what i need. or the hat and the balls. YOU: then i'll take the book. you take the hat and balls? THEM: that works or me. YOU: deal.

Ex Output:
Yes