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

THEM: i would like the hats and the balls. YOU: i would like the book a hat and a ball THEM: how about i get the hats and you take the rest? YOU: sure, ill take both balls and the book.
Yes

THEM: i can offer you one ball. YOU: ha, i need the hat and 2 balls THEM: i can give you all the balls if you give me everything else YOU: i need another item with the balls to make that work THEM: i can offer you the balls and one book YOU: okay.
Yes

THEM: i need both hats and a ball YOU: i'll take the books, but need one hat or the ball THEM: okay, you take books and ball.
Yes