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

Input: Consider Input: THEM: can i have ball and 2 hats?  YOU: yes to the ball and even a book, but i must take umbrage at relinquishing any of the hats  THEM: book is 0 for me. how about ball and 1 hat?  YOU: it is not ideal but a reasonable request and i will agree  THEM: thanks.

Output: Yes


Input: Consider Input: THEM: can i get the ball and one hat?  YOU: sure.

Output: Yes


Input: Consider Input: THEM: you can have the books and ball. i need the hats'  YOU: okay that works. thank you.


Output: Yes


