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

[Q]: THEM: how about you get two balls,  YOU: deal  THEM: how about some begociations.
[A]: Yes


[Q]: THEM: what if i take the books and we split up the hat and balls  YOU: that's actually the same offer i wanted to propose to you. i assume our values are similar. how about we split it right down the middle? we each get a book and split the rest?  THEM: actually i wanted both books and will split the rest however you want  YOU: i understand you want both books, but i won't part with both. i'll take 1 book, two balls ; you take 1 book 1 hat 1 ball.  THEM: that won't work for me. i will only take just 1 book if i also get a hat and 2 balls  YOU: again, i'm going for fair or no deal. 3 items each, 1 of them being a book.  THEM: in that case i want 1 book and 2 balls  YOU: i can atleast agree to that. deal  THEM: done.
[A]: Yes


[Q]: THEM: i'd like the hat and the balls ; you can keep the books  YOU: okay agreed.
[A]:
Yes


