Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i like the balls and the book YOU: would you be willing to part with one of those? either a ball or a book? THEM: which one do you wangt? YOU: either one is fine. THEM: so i'll take the balls and the hats and you can have the book YOU: i need the hats. i just need 1 more ball or the book. THEM: i'll take 3 balls and you have the book and one hat YOU: i really need both hats to make this deal work. THEM: ok YOU: so i get both hats and a book?
Output:
Yes