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

THEM: i'll offer the ball and a book YOU: i need 1 hat and 2 books THEM: i can't give the hat, i'll offer the ball and 2 books YOU: can i have 3 books than and you keep ball and hat? THEM: no, can't do that one YOU: how about i get 1 book and 1 hat? THEM: the ball and 2 books is the best i can do YOU: ill settle for 3 books or 1 book and 1 hat THEM: i can't do either, guess we won't come a deal on this one YOU: i guess no deal then >. <
No

THEM: ill give you a ball for a hat YOU: how about you take all books and i keep the rest THEM: how about i keep all the books and aball YOU: fine.
Yes

THEM: hello i'm very interested in the books and balls YOU: you can have the books and one hat if i can have the ball and two hats THEM: yes i will take all the balls YOU: i need the ball THEM: oh sorry, i will take all the books, you can have all the hats and one ball YOU: okay great! thank you!
Yes