Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i'd like hat and book.  YOU: hat and book are the only points for me. i'm willing to split this down the middle somehow, but balls are no use to me.  THEM: then i'll take balls and either hat or ball.  YOU: hat is a little higher for me... i'll take hat you take book and balls?  THEM: deal.
Output:
Yes