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

Input: Consider Input: THEM: i get the ball and 2 hats you get the rest.  YOU: that sounds reasonable. deal.

Output: Yes


Input: Consider Input: THEM: can i have the hat and one of the books?  YOU: i can give you two books and two balls for the hat and one ball  THEM: how about the hat and you can have the rest  YOU: i need the hat. unless i get the hat we cannot make a deal  THEM: ya it would see that way on my side too unfortunately  YOU: are you sure you cannot give the hat up?  THEM: its the only thing of value to me.  YOU: the hat is the only item of value to me also  THEM: welp looks like we are at an impass and we chit chat until it says we can "make no deal"  YOU: this isn't going to work  THEM: nope, no deal.

Output: No


Input: Consider Input: THEM: ball for me and i give all else... cant beat that  YOU: no can do  THEM: well then we aint gonna deal... ball is 10 for me  YOU: ok then keep sending messages  THEM: no deal  YOU: no deal  THEM: no deal  YOU: no deal  THEM: nope  YOU: nope.


Output: No


