Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: what would you like  YOU: the balls and two books  THEM: just books  YOU: no deal. books and hat then  THEM: books only,  YOU: no can do  THEM: so you can do what  YOU: all books with either the hat or ball  THEM: one ball and all books for you  YOU: deal.
Output:
Yes