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 hat and two books? YOU: i need the hat you can have the rest THEM: okay deal YOU: great.
Example Output: Yes

Example Input: THEM: i need the ball and three books YOU: if you take the ball. i need the hats and at least 2 books THEM: i can do that, you get hats and 2 books, i get ball and 2 books YOU: deal.
Example Output: Yes

Example Input: THEM: hello, i would like a book and a hat. you can have the rest. YOU: i can cede both hats but really need the book... book and one ball for me THEM: sounds good.
Example Output:
Yes