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

Input: Consider Input: THEM: i need the books and balls  YOU: you can have the books, but the balls no  THEM: how about books and one ball  YOU: no deal still  THEM: guess we have to click on the no deal button then  YOU: yap  THEM: yup  YOU: dont your books have any value?  THEM: yes, but the hats have zero value  YOU: so why cant i have the balls and the hats then?  THEM: 6 / 10 is too low..... 7 / 10 is safe  YOU: can i have the balls only then?  THEM: same number...... the hats have zero value.

Output: No


Input: Consider Input: THEM: ill take two balls and thehat  YOU: ya i can work with that.

Output: Yes


Input: Consider Input: THEM: i would like the hats and basketball you can have the book  YOU: id like the ball and book  THEM: deal.


Output: Yes


