Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer '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: i need the hat, you can have all the books and ball YOU: deal THEM: great.
Yes

THEM: gimme the books, you take rest YOU: i need a book to go with a hat and ball THEM: books are needed YOU: best offer is i give you two balls and a book THEM: ok.
Yes