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

Ex Input:
THEM: i need both hats and one book  YOU: what if i take the ball and one hat?  THEM: i can do that  YOU: okay deal.

Ex Output:
Yes


Ex Input:
THEM: i can offer you the hats  YOU: i can take the ball and 2 hats or the ball and 2 books.  THEM: no i can only offer you the 3 hats or this wont work for me and we say no deal until the button comes up  YOU: fine.  THEM: fine what????  YOU: no deal. three hats only gives me three points. i can't do it.  THEM: fine i can offer you 2 hats  YOU: i can also take the ball and you get everything else.  THEM: now i can offer you no hats  YOU: i can also offer you the ball and i take everything else. 5 points isn't horrendous for me.  THEM: i can offer you one book and 3 hats last offer  YOU: no deal.

Ex Output:
No


Ex Input:
THEM: i want the hat and and 2 balls.  YOU: i want the hat and 1 ball. you take the rest  THEM: i'll take the book but, i'll trade the hat for the rest of the balls.  YOU: i need at least one book to get two points  THEM: i need the hat or i get no points.  YOU: the hat is only worth 1 point for me and the ball one point for me  THEM: ill take the hat and one ball and leave you with the rest.  YOU: if i do that i have no points the book is 0 value  THEM: fine ill take the hat and the book.  YOU: you get book and two balls. deals  THEM: the hat is deal breaker.

Ex Output:

No


