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: 1 of each THEM: how about i get the hat and balls and you get all the books YOU: negative THEM: i will take the hat and one ball and 1 book YOU: if you want hat i get 2 balls 1 book THEM: i will give you 3 books and 1 ball YOU: i don't think i THEM: or i can take both balls and 1 book YOU: ok i get hat and 2 books THEM: yes YOU: ok.
Output:
Yes