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

THEM: i'd like the book, you can have the rest YOU: i need the book and two hats THEM: you can have all the hats, and the balls YOU: ok THEM: thanks.
No

THEM: i can take both books you have the rest of items YOU: deal. THEM: perfect, nice doing a deal with you!
Yes

THEM: i will the the hat and the books. you can have the balls. YOU: i need ball and one book THEM: you take 1 ball and 1 book. i take the hat, 1 ball, and 1 book. YOU: 2 balls and book for me THEM: okay you take 2 balls and 1 book. i take the hat and 1 book.
Yes