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

Example Input: THEM: i would like 2 balls, 2 hats and 1 book YOU: no. you can have the balls and 1 hat THEM: i can not have 1 book? YOU: no sorry i need both books THEM: you can have both books if i can have both balls and both hats YOU: how about i get both books and 1 hat? THEM: then i would like one book... YOU: sorry, no deal THEM: i get 2 balls, 1 hat 1 book YOU: no deal THEM: you can have both books and 1 hat YOU: deal.
Example Output: Yes

Example 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.
Example Output: No

Example Input: THEM: can i get one ball and a book? YOU: i need the ball and both hats THEM: you can have everything except the ball YOU: without the ball there is no deal to be made THEM: same here YOU: no deal then THEM: nope YOU: no deal THEM: now what? lol YOU: keep typing eventually the no deal button will light up.
Example Output:
No