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

Input: Consider Input: THEM: i'd like 2 books and 1 hat. deal?  YOU: i want one of the books. but you can have both hats, if i gt the basketballs.  THEM: hows about i get 1 book and basketball and 2 hats?  YOU: you can have both basketballs and both hats if i get both the books.  THEM: no, that doesn't work for me. i will compromise 1 hat only if i can have both hats  YOU: do you mean 1 book?  THEM: sorry, yes, 1 book if i can have 2 hats  YOU: then i revert to my previous offer : we each get one book, you get both hats, i get both basketballs.  THEM: deal, i can agree to that.

Output: Yes


Input: Consider Input: THEM: hi i would like the hat and ball and you can have the books  YOU: would you trade the hat for a book?  THEM: no im sorry, i cant do that.  YOU: ok, i accept your initial offer then.  THEM: thank you.

Output: No


Input: Consider Input: THEM: give me ball, rest to you  YOU: rats, the ball is all i want too.  THEM: are we lookin at no deal?  YOU: i think so,,, you cant live with all but the ball?  THEM: ball so important during march madness  YOU: very true... i think we're stymied... i dont know how to end it with no deal hough  THEM: agreed  YOU: no deal  THEM: yes  YOU: i think we just have to reach a chat limit for no deal  THEM: whahoo.


Output: No


