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

Q: THEM: i would like the ball and the book.  YOU: i need one of them and the hats  THEM: no deal. i need at least the ball and the book.  YOU: no deal then  THEM: or i need the ball and all the hats.  YOU: i need at least one hat to go with the book  THEM: can't do it. sorry.  YOU: cant make a deal then  THEM: no problem. no deal.  YOU: book and ball are worth too much to me  THEM: same.

A: No
****
Q: THEM: i'll take two books and a ball if that works for you?  YOU: deal.

A: Yes
****
Q: THEM: i can offer you one hat  YOU: no. you can have the ball and all the hats, and i'll take the book.  THEM: ill give you the book if you give me everything else  YOU: that's what i just said.

A:
Yes
****
