Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i can do 2 balls for you YOU: eh, the balls are worth the least for me unfortunately. i can give you the balls and hat in exchange for the books though THEM: eh i really need books i can do 2 books for you and i get rest that only way i can do this and that leaveing me with low number YOU: sounds like we both have low numbers then, because 2 books would leave me with 4. so i would need a ball as well THEM: ok 2 books and 1 ball i get rest.
Output:
Yes