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

Input: Consider Input: THEM: can i get 2 hats?  YOU: no. there's only one hat. i would like the hat and you can have everything else.  THEM: you can have the 3 books, but not the hat or ball  YOU: no i want the hat  THEM: not giving that one up  YOU: me neither.  THEM: how about the balls?  YOU: you can have the balls. i'd like the hat and 1 book.  THEM: ok, so i get 2 balls and you get the hat and the book  YOU: deal.  THEM: deal agreed button isn't working on my end.

Output: No


Input: Consider Input: THEM: hi, can i have the hat and 2 books?  YOU: you can have all h books only  THEM: no, i`ll take the hat and 2 books,  YOU: no deal  THEM: no deal  YOU: no deal  THEM: no deal  YOU: no deal  THEM: no deal  YOU: no deal.

Output: No


Input: Consider Input: THEM: hat to me, 3 balls you you with book  YOU: deal.


Output: Yes


