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

Input: Consider Input: THEM: you keep all hats and i keep the rest  YOU: that will not work for mei need 1 book and 3 hats  THEM: ok so two hats and one book  YOU: i need 3 hats  THEM: ok fine  YOU: 3 hats and 1 book for me deal.

Output: Yes


Input: Consider Input: THEM: i would like the ball and both hats.  YOU: i need hats or no deal  THEM: i guess no deal then. sorry, i can give you 1 hat only if i get the rest.  YOU: ok, no deal  THEM: no deal.  YOU: yup  THEM: no deal.  YOU: correct  THEM: agreed. no deal.  YOU: agreed.

Output: No


Input: Consider Input: THEM: ill take hat and ball, you can have the books  YOU: i need ball and a book  THEM: i cant use any of the books  YOU: books and hat to me, ball to you  THEM: i would need the hat  YOU: ball and books to me.


Output: No


