TASK DEFINITION: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
PROBLEM: THEM: i can take both books you have the rest of items YOU: deal. THEM: perfect, nice doing a deal with you!

SOLUTION: Yes

PROBLEM: THEM: i would like books and hat YOU: deal.

SOLUTION: Yes

PROBLEM: THEM: what is your wish? YOU: one ball and two hats? THEM: i would like 1 ball 2 books YOU: how about 1 ball and 1 book THEM: 1 ball, 1 book, 1 hat for me? YOU: no 1 ball and 1 book for you. THEM: guess this is the best i'll get. YOU: deal? THEM: deal YOU: ok.

SOLUTION:
No