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

Q: THEM: you can have the ball if i can have the books and the hat. YOU: i need the ball and hat you can have all the books. THEM: i'll take all the books, but i really need the hat. you can have the ball. YOU: i lose the hat i need two of the books. THEM: can't do. you can have the hat and ball. YOU: i will take the hat and ball.

A: Yes
****
Q: THEM: all books to me, u have else YOU: sure.

A: Yes
****
Q: THEM: could i have a ball and the hat kindly? YOU: no, i will need at least one of those, preferably the hat. THEM: if i let got the hat i need a book YOU: so i get the hat and three books and you get a book and the ball? THEM: sounds about right YOU: ok, i agree to that.

A:
Yes
****