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

Example Input: THEM: ok you would like a hat and two balls, am i right? YOU: i need three hats and the book please THEM: not going to happen YOU: what would you like? THEM: book, two hats and one ball YOU: i need the hats. if i can have two hats and the book you can have the rest THEM: how about you take all hats and i keep the re'st YOU: okay deal.
Example Output: Yes

Example Input: THEM: hey, i want a hat and a book YOU: hi! i can give a hat, but i really need the single book, but will give the ball. THEM: i need the book. everything is yours except the book? YOU: i will concede the book only then.
Example Output: Yes

Example Input: THEM: how about the hats and ball for me, the books for you? YOU: i will take the ball and one book and give you the hats and one book THEM: ok YOU: deal.
Example Output:
Yes