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 balls and the hats YOU: you can have the balls or the hats, i can not do both THEM: how about the balls and 1 hat YOU: no i can not do that. its already going to be a stretch if i give you one or the other. THEM: i can take just the balls YOU: is the a deal then?
Example Output: Yes

Example Input: THEM: both hats, you get the rest YOU: i can do that if you include one book. THEM: so 2 hats and a book for me? YOU: sorry, meant exchange a book for a hat in your initial offer. THEM: hats i like alot, they fit perfect YOU: i bet they look good on you, but my head is cold and needs a hat. THEM: ok, how about 1 hat a piece, but i get 2 books and the ball YOU: let's split the hats, and then you can have any two books you want and i keep my ball. THEM: deal YOU: ok.
Example Output: Yes

Example Input: THEM: hello. i need the basketball or no deal. a hat would be nice too. YOU: you can have the basketball but i need everything else THEM: okay deal.
Example Output:
Yes