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

Example Input: THEM: hi, i want the book and 2 balls. you can have the hats YOU: i'm okay with the hats but i think i'd like at least one ball THEM: thats the only thing i get points. can handle that YOU: i'll go ahead and take the 2 hats then, you can have the rest THEM: deal.
Example Output: Yes

Example Input: THEM: you can have the hats ill take the rest YOU: i was going to tell you the same thing......... i'll take the hats and a book THEM: i guess thats fine.
Example Output: Yes

Example Input: THEM: i would like the book and balls and one hat. YOU: i want just the book and ball you can have all 3 hats THEM: i can't do that deal. how about i take the hats and the ball. you take the book. YOU: if you take the ball i need 2 hats THEM: what about the book? YOU: book for me and 2 hats rest for you THEM: i can do book for you and one hat. ball for me and two hats. YOU: deal THEM: sounds good! deal!
Example Output:
Yes