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: everything? just kidding. how about two balls and two hats. THEM: perfect YOU: ok. i'll keep two balls and two hats. THEM: just give me at least one hat or one ball, the books is worth really nothing YOU: i can do that. i'll keep one hat the book and two balls. THEM: i need book and one hat then YOU: yes you keep the book and one hat. i take one hat and two balls.
Output:
Yes