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 hat and the book. YOU: i need the hat and the balls THEM: can i have the hat if you take everything else? YOU: sure.
Example Output: Yes

Example Input: THEM: gimme the hat and books YOU: you can have the books. but i need the hat. THEM: books and balls to me YOU: you can have the books and 1 ball? THEM: ok.
Example Output: Yes

Example Input: THEM: i will take the hat and basketballs you take the book YOU: give me the book and two balls. THEM: you can have the book and 1 ball.
Example Output:
No