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

Example Input: THEM: i'd like 2 books and 1 hat. deal?  YOU: i want one of the books. but you can have both hats, if i gt the basketballs.  THEM: hows about i get 1 book and basketball and 2 hats?  YOU: you can have both basketballs and both hats if i get both the books.  THEM: no, that doesn't work for me. i will compromise 1 hat only if i can have both hats  YOU: do you mean 1 book?  THEM: sorry, yes, 1 book if i can have 2 hats  YOU: then i revert to my previous offer : we each get one book, you get both hats, i get both basketballs.  THEM: deal, i can agree to that.
Example Output: Yes

Example Input: THEM: i would like all the books.  YOU: ok, i would like all the hats.  THEM: fine, if we split the basketballs  YOU: i agree.
Example Output: Yes

Example Input: THEM: cann i just have 2 books annd 1 ball  YOU: deal.
Example Output:
Yes

