Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.

Example input: THEM: i need the hats and the ball  YOU: i can give you one hat and the ball. i want 2 books and 1 hat  THEM: i have to have both hats and the ball or both hats and a book to make a deal  YOU: sorry, i won`t make a deal without a hat  THEM: if you take 1 hat i have to have everything else  YOU: sorry can`t do  THEM: no deal  YOU: yesh no deal, sorry  THEM: no deal  YOU: no deal.
Example output: No
Example explanation: Both participants do not agree to the deal, so the answer is No.
Q: 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.
A:
No