Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i'll take 1 ball, 1 hat and the book. you can have the rest. YOU: no deal THEM: i'll take the book and 1 ball. you can have the rest. YOU: i have to have the book THEM: well, if you just give me the book, you can have the rest. YOU: i have to have the book to make a deal THEM: what if i need the book? YOU: then we cannot make any deal THEM: the rest don ; t have any value to you / YOU: they have very little value THEM: then i guess there is no deal.
Output:
No