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

[EX Q]: THEM: gimme the hat and books YOU: you can have the books. but i need the hat. THEM: books and balls to me YOU: you can have the books and 1 ball? THEM: ok.
[EX A]: Yes

[EX Q]: THEM: i want the ball and two books YOU: would you accept taking all the books instead? THEM: hmm, really wan that ball YOU: ok, would you give me the ball and take everything else? don't think i can do anything else. THEM: yes.
[EX A]: Yes

[EX Q]: THEM: you take balls, and i keep the rest YOU: can i also have a book? THEM: books are zero to me YOU: so you just want the hat and that's it? THEM: no i meant without books i will have sero YOU: oh, can i have either the hat or a book too? THEM: just one book and all balls for you YOU: deal.
[EX A]:
Yes