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

Example Input: THEM: i would like the 3 books and the ball.  YOU: i need the books  THEM: you can have 2 books but not all of them, ill take the rest  YOU: how about two books and the ball?  THEM: no, i need the ball and at least one book and the hat  YOU: ok two books for me and the hat  THEM: okay deal.
Example Output: Yes

Example Input: THEM: how about i give you all four hats for a basketball?  YOU: as long as i can keep the book.  THEM: sounds good.
Example Output: Yes

Example Input: THEM: hello! i would like the hat and the balls. you can have all of the books.  YOU: you can have the balls but, i need the hat and three books  THEM: i need the hat. would you be willing to take all of the books and one ball? then i get the hat and one ball.  YOU: unfortunately, i need the hat or i can not make a deal. it seems like we both need the same item  THEM: i'll give you the hat for some combination of books and balls then. 4 books and 1 ball?  YOU: i need the hat and one book. would that work for you?  THEM: that will work.  YOU: okay great. thank you.
Example Output:
No

