Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: you can have the balls i want the rest YOU: i really want the books, you can have the hats THEM: sorry i cant give you both books i can give you a book and a ball YOU: one book and both balls THEM: no one book and 1 ball YOU: sorry, but if i am only hetting one book, i need both balls THEM: sorry that wont work for me thats the best i can do YOU: then i guess we are at a stalemate THEM: guess so YOU: what about the hats? THEM: i can give you a hat and a ball YOU: i wwant both hats, one book and one ball.
Output:
No