Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i want the hats and 2 booksk  YOU: i want all the books and either the hats or the balls  THEM: i can give you 2 books and all the balls. i need at least 1 book  YOU: all the books how about?  THEM: cant do it without 1 book.  YOU: okay. so i'm getting 2 books and two balls?  THEM: yes. that only gives me 5 points, enough to hopefully not get rejected! thank you  YOU: it's only giving me 6. don't worry about rejects... these are more difficult to make deals on.
Output:
Yes