Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i would like the book and balls and one hat. YOU: i want just the book and ball you can have all 3 hats THEM: i can't do that deal. how about i take the hats and the ball. you take the book. YOU: if you take the ball i need 2 hats THEM: what about the book? YOU: book for me and 2 hats rest for you THEM: i can do book for you and one hat. ball for me and two hats. YOU: deal THEM: sounds good! deal!
Output:
Yes