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

THEM: i'd like the books and balls, you can have the hats YOU: ill take the hats but i need the balls as well THEM: i need at least one ball and all the books. deal? YOU: i can offer you the books and 1 hat THEM: hats are worthless to me. i'll take books, you can have the rest YOU: ok deal.
Yes

THEM: i would like the hats and the book. YOU: i would like 1 of each item THEM: let me have both hats and take the rest and we have a deal. YOU: deal.
Yes

THEM: i need the hat please, you can have the balls and books YOU: agreed.
Yes