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

Example Input: THEM: i would like the book and all the hats. YOU: deal THEM: that works for you?
Example Output: Yes

Example Input: THEM: can i have the book and a hat? YOU: sure!
Example Output: Yes

Example Input: THEM: i would like both books and both hats. YOU: i don't like wearing hats, so you can have both of those. i will also give you one of the hats THEM: so i'll take both hats and the ball, then? YOU: nope, i meant book earlier. so you can have both hats and a book and i'll just take only the ball and a book THEM: i'd be much happier with just one hat (i've only got one head) and the ball. YOU: your original deal didn't include the ball so that is off the table. but i will give you one of the books with the two hats (in case you lose your first one! ) THEM: one ball, one book, both hats. YOU: 4 : 1 is not fair. you can have both hats and one book. THEM: 2 : 3 is fair, as in one ball and one hat for me, one hat and two books for you. YOU: no i can't give up the ball, and you didn't even want the ball to begin with. i guess i will have to be the one to sacrifice and agree to your original deal - one ball for me and the rest for you. THEM: not a chance. lol. come up with something better than that. YOU: it was your original deal - i am just repeating what you said. the only other offer we haven't considered if giving me the ball and two books and you can just have the two hats, which is now my new deal since you backed away from your original offer. THEM: i'll take just the ball, methinks. that's nice, right? YOU: sorry buddy, there will be no deal today.
Example Output:
No