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

Input: Consider Input: THEM: ill giv eyou the hats YOU: hats are 0. i'd like books. you can have the rest. THEM: no deal you can have the hats YOU: i can do two books and and 1 ball. THEM: no deal you can have hats YOU: seriously? if you don't even try i'm going to leave a comment after we no deal. THEM: are you mad?

Output: No

Input: Consider Input: THEM: hello, ranger. what would you like in order to help defend angel grove from rita? YOU: i need the book and ball THEM: ranger. i'm sorry. i can't do this deal. it seems you are working on more than one hit at a time and that slows this down.

Output: No

Input: Consider Input: THEM: good afternoon! can i take the hat and 2 basketballs, and you take the books and 1 basketball? YOU: i don't want any basketballs. i'd like the hat and books. THEM: i'm sorry, but i need the hat. you don't want any basketballs at all? YOU: no, they're not worth anything on my end. are the books of any value to you? THEM: no they aren't. the basketballs aren't worth much to me, either. YOU: fine i'll take your deal. THEM: okay, so i'll take the hat and 2 basketballs, and you can take 1 basketball and 2 books. thanks, friend!
Output: Yes