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

Example Input: THEM: ill give you a ball for a hat YOU: how about you take all books and i keep the rest THEM: how about i keep all the books and aball YOU: fine.
Example Output: Yes

Example Input: THEM: i would like the ball and 2 hats. YOU: i can give three hats but would like the ball and book THEM: i have got to have atleast the ball and 1 hat or 1 book YOU: i can do the ball if i get the book and two hats THEM: ok deal.
Example Output: Yes

Example Input: THEM: i would just like the book. you can have the rest. YOU: hmmm, book i like. how about me get book you get rest, plus a thankyou card in the mail THEM: no. YOU: how much is book worth to you THEM: a lot YOU: how about i get book and a hat, and i send a valentine to you on tuesday? THEM: no i don't have a heart. YOU: the valentine will be a heart, so its a perfect deal. THEM: no deal YOU: we need to flip for it.
Example Output:
No