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

Example input: THEM: i need the hats and the ball  YOU: i can give you one hat and the ball. i want 2 books and 1 hat  THEM: i have to have both hats and the ball or both hats and a book to make a deal  YOU: sorry, i won`t make a deal without a hat  THEM: if you take 1 hat i have to have everything else  YOU: sorry can`t do  THEM: no deal  YOU: yesh no deal, sorry  THEM: no deal  YOU: no deal.
Example output: No
Example explanation: Both participants do not agree to the deal, so the answer is No.
Q: THEM: i would like the ball and the books please  YOU: give me the ball and hats and you could keep the books  THEM: no deal. i want the ball and at least 2 books  YOU: no, i want the two hats and the ball  THEM: no deal. i don't need hats  YOU: well then give me the ball and hats you could keep all 4 books  THEM: nope if you want the ball then i'll take the books and the hats  YOU: nope  THEM: best deal is you can have the ball and 1 hat  YOU: cool. then ball and one hat is fine with me and you could have one hat and 4 books  THEM: deal.
A:
Yes