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

Example Input: THEM: if i can have the balls and one hat you can have the rest YOU: deal THEM: great!
Example Output: Yes

Example Input: THEM: i want the books. i can offer you the rest. YOU: i need atleast 1 book THEM: if i give up a book, i have to get either the hat or the ball. YOU: you can have 2 books and 1 ball THEM: deal.
Example Output: No

Example Input: THEM: i'd like all the balls, all the hats, and i quite fancy a book too! just kidding... i would like 2 balls and a book or hat though. YOU: how about i give you a hat and book and i take a hat and all the balls. THEM: no thank you. i don't really need a hat. i'll take two balls though. you can keep the rest. YOU: ill give you a ball and the book and ill take the 2 hats and 2 balls. THEM: i really do need both balls. YOU: ok ill take 2 hats the book and 1 ball. THEM: thanks so much. good work team!
Example Output:
Yes