Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i get the ball and 1 book. you the rest YOU: can't do that. i need the ball, and two hats. you can have both books. THEM: no deal then YOU: i will take the ball and one hat then. you can have both books and a hat. even then i'd be taking a bit of a loss. THEM: the hat has a 0 vale for me and the book is only 1 point YOU: then we can't agree. i need the ball and at least one hat. THEM: sign no deal agreed then YOU: no deal. THEM: what is the ball worth to you? YOU: 6 THEM: the ball is only 1 point YOU: ok, so then i need the ball and one hat. you can have the books and one hat.
Output:
No