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

THEM: i want the hats and a book YOU: you can have the hats. but i have to have the book.
Yes

THEM: you can have one book YOU: ha, you can take all the book, i will take the hats and the ball THEM: i want the ball and the books YOU: i get the hats THEM: you get the hats and nothing else YOU: sounds good.
Yes

THEM: how about you take the hat and balls and i will take the books? YOU: i can't accept that deal. if i can have the books you can have the hat and the balls... would that work for you? THEM: the books are the only things of value to me YOU: same as me. the only other deal i would be willing to make is if we can split the difference and i can have one of each THEM: okay can i have 1 book and the balls? YOU: you can have one ball and the book THEM: deal YOU: okay thank you!
Yes