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

Input: Consider Input: THEM: i would like the book and all 3 balls  YOU: i can not make that deal. you can have the balls but, i need everything else  THEM: i can't do that. how about i give you two of the balls and that i keep the book and one of the balls?  YOU: i need the book or no deal.  THEM: i'd like to keep the book but i'll give you the rest  YOU: i can not give up the book. are you willing to make another offer  THEM: i'm sorry, i would rather keep the book and give you the hat and all 3 balls  YOU: i can not make a deal without the book... so you can have everything else or no deal.  THEM: i guess it will be no deal because i want the book  YOU: no deal.

Output: No


Input: Consider Input: THEM: i would like 2 books and 2 balls  YOU: i could not give up both books  THEM: how about one book and 3 balls  YOU: i would need the hat, one book, and one ball  THEM: deal.

Output: Yes


Input: Consider Input: THEM: i would like the books and the ball.  YOU: i can not accept that deal if i can have the ball and one book you can have the rest  THEM: is that your final offer, that is not that great for me.  YOU: yes final offer.  THEM: i agree then.  YOU: okay thank you!


Output: Yes


