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

Example Input: THEM: can i take the balls and the hats? YOU: just hats THEM: sorry, can't do that. really need them YOU: just hats and one ball then THEM: 2 balls and one hat. i won't go any low YOU: how about two hats one ball THEM: no deal, that does not work for me. want the 2 balls and one hat. this is as low as i go YOU: yeah no deal THEM: no deal then, sorry YOU: no deal.
Example Output: No

Example Input: THEM: you get all the books YOU: ok deal i will take all 3 books and you can have the rest THEM: deal.
Example Output: Yes

Example Input: THEM: i need the hat and one of the balls YOU: i need that hat and one book THEM: i can't make a deal without the hat YOU: neither can i THEM: impasse YOU: i can give you both balls and both books but i need at least the hat THEM: yeah, the books are worthless to me and the hat's 6, so we're at no deal YOU: okay, no deal THEM: nd YOU: no deal button not showing up for you?
Example Output:
No