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

THEM: i will give you a book and 2 hats. YOU: sorry that won't work. how about i get the ball and one book THEM: you want 1 ball and 1 book. that works for me.
Yes

THEM: give me balls and books YOU: i would like one book and 2 balls THEM: give me all balls and hats YOU: i would like 2 hats and 1 book THEM: deal.
Yes

THEM: what do you want? YOU: all the hats? THEM: deal.
Yes