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

Q: THEM: i want the balls and hat YOU: you can have the hat but not all the balls THEM: how about two balls and the hat? YOU: i can take 2 balls and 1 hat.... is that what you are saying? THEM: no that's what i take YOU: you do not want the book? THEM: nope YOU: hmmm, how bad do you want that hat? THEM: i want that hat and two other items YOU: i guess you can have the hat and 1 ball.... THEM: no, two items and the hat YOU: no deal.

A: No
****
Q: THEM: if i can have the ball you can have the rest. YOU: sure, that's fine.

A: Yes
****
Q: THEM: i'd like the hat and the two balls, you keep the books? YOU: that would put my operations in danger. THEM: hat and 1 ball for me? you get 3 books and 1 ball? YOU: the hat is of greatest value to me THEM: hat is the only thing of value to me, actually. how about you take all, i take the hat? YOU: ok.

A:
Yes
****