Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i'll take 3 books and a hat.  YOU: that unfortunately will not work for me. if i can take the books you can have the rest  THEM: 2 books and a hat please.  YOU: if i can have two books and the two balls you can have one book and the hat  THEM: 2 balls and the hat?  YOU: you would like 2 balls and the hat?  THEM: yes  YOU: okay you can have two balls and the hat and i will take the books. thank you!
Output:
Yes