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

THEM: give me the hat and books YOU: you can have the books but, i need the hat and the balls THEM: i need hat at least, or no deals YOU: if you take the hat i need everything else THEM: deal.
Yes

THEM: i need the ball and 2 hats YOU: ok, how about 1 hat and 1 ball for you and the rest mine? THEM: i'm going to need the ball and both hats YOU: ok deal.
Yes

THEM: i would like both hats and the ball YOU: i need the ball, but you can have the rest.
No