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

Example Input: THEM: give me the book and ahts YOU: no deal THEM: gimme book and balls YOU: sounds good, i will take the hats.
Example Output: Yes

Example Input: THEM: i need the ball and two hats. YOU: that's fine, i'll take the book and one hat then? THEM: great.
Example Output: Yes

Example Input: THEM: i want one of each. YOU: i want the book and 2 balls ; will this work for you? THEM: what will you give the book up for? YOU: there's really nothing i can give the book up for... if we're going to fight over the book, i will concede and take the balls. hat is no value to me. THEM: okay, i'll take the book and the hat then.
Example Output:
Yes