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

THEM: i like to read so can i have the book and a hat? YOU: sorry, i need the book. you can have both hats and 1 ball if youd like THEM: how about you have the book and i'll take all the balls and both hats? YOU: no sorry that's not a good deal for me THEM: how about i'll take the book then? YOU: nope sorry. i need the book. sounds like we have no deal THEM: if the book is that importasnt to you you can have it if i can have the rest YOU: no, i would need some of the balls to make it worthwhile for me THEM: i can give you the book and 1 ball YOU: deal.
Yes

THEM: can i have the book and a hat? YOU: sure!
Yes

THEM: what do ypou want? YOU: the book, 1 hat and 1 ball THEM: the hats are 0 s for me, so those are all you if you want. i'd like the book and two balls? YOU: i have to have the book, you can have the balls THEM: i don't love that, but if it's the best you can do? YOU: yes.
No