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

Input: Consider Input: THEM: if i can have the books and the hat you can have the balls  YOU: i need the hat and a ball  THEM: i can not make that deal i need the hat as well. if i can have the hat and one book you can have the balls and one book  YOU: that wont work  THEM: okay then, i can not make a deal. i'm sorry.  YOU: thats fine  THEM: no deal.  YOU: are you sure  THEM: yes, no deal. i'm sorry.  YOU: ok, well if you change your mind.

Output: No


Input: Consider Input: THEM: i would like the hat and the ball.  YOU: how about you take the hat and 1 book  THEM: deal.  YOU: deal.

Output: Yes


Input: Consider Input: THEM: i'm going to waste this line so the system doesn't tell me i'm accepting to quickly  YOU: i am fairskinned in the south. i need the hat. anything else is negotiable  THEM: lol, i'll take 3 books, 1 ball?  YOU: deal  THEM: ok.


Output: Yes


