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

Example Input: THEM: can i have the books and the balls please? YOU: can i have the hats and we split the balls? THEM: no, i have to have both balls if it has to make sense YOU: are you sure? THEM: yes YOU: ok, i'll take the hats THEM: deal.
Example Output: Yes

Example Input: THEM: i would like one of everything YOU: i would like just the hat THEM: the hat is something i need or we won't be able to make an agreement YOU: hmmmm. same with me. THEM: is there any way you can make this work without taking the hat? YOU: hat is all i need THEM: i'm going to get shafted here but i'd rather meet an agreement then not.
Example Output: Yes

Example Input: THEM: i hear basketballs are in season this year..... YOU: indeed. i can only let you have that one if i get everything else though. it is one of a kind after all. THEM: i was thinking more like you take the ball and i'll take the rest YOU: ah, that won't work very well. how about you take both hats and i get the rest? THEM: could you spare a book also? YOU: i'd hate to break up the set. i could give you both hats and the ball. THEM: i'll take the hats.... you take the rest YOU: i get the ball and books? done.
Example Output:
Yes