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

Input: Consider Input: THEM: i would really like the basketball. YOU: i get 0 balls 1 hat and 2 books THEM: deal.

Output: Yes

Input: Consider Input: THEM: you can have both balls if i can have the books and hat YOU: i need 2 books and the balls THEM: i cannot give up two books as they are most valuable to me. i could give you one YOU: ok how about i take 2 balls and 1 book THEM: deal.

Output: Yes

Input: Consider Input: THEM: i'd like the ball. YOU: how much would you like it? cuz i would, too. and the hats. THEM: hmmm.... how about i take the ball and we divide the hats? YOU: i don't need any books at all. like, they bring no value for me. so i'm working on the hats and the ball. do you get anything from the books? THEM: yes, but not much. how about you take the hats. i'll take the ball and books. YOU: that'll be good enough. thank you for your cooperation! THEM: agreed. thank you!
Output: Yes