Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i want the ball and book and 1 hat YOU: you can have the ball i want the book and 2 hats THEM: how about all the hats to you, and the book and ball to me? YOU: no can do i will take all the hats and the ball and give you the book though THEM: how about the ball to me, the rest to you? YOU: deal.
Output:
Yes