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

Example Input: THEM: i would like 2 balls, 2 hats and 1 book YOU: no. you can have the balls and 1 hat THEM: i can not have 1 book? YOU: no sorry i need both books THEM: you can have both books if i can have both balls and both hats YOU: how about i get both books and 1 hat? THEM: then i would like one book... YOU: sorry, no deal THEM: i get 2 balls, 1 hat 1 book YOU: no deal THEM: you can have both books and 1 hat YOU: deal.
Example Output: Yes

Example Input: THEM: i will take hat, 1 book, and 1 basketball, you can have 2 books YOU: i need a hat and a ball... you can have all the books THEM: no can do i need the hat and 2 books YOU: i need the hat as well...... books are zero value on my end THEM: i can't give up the hat. i will take the hat you can have the rest YOU: again, i get zero value on the books THEM: well i can't give up the hat so don't have anything else to offer YOU: ok... click on the no deal button and we can go to the next deal THEM: have to wait for it to turn green YOU: ok.
Example Output: No

Example Input: THEM: if i can have the books and the hat you can have the balls YOU: the hat is the most value to me... i'd like the hat and one item of your choice. THEM: if you take the hat then i would need two books and two balls you can have one ball YOU: deal THEM: okay great!
Example Output:
Yes