You will be given a definition of a task first, then some input of the task.
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.

THEM: if i can have the hat and ball i will cede the lovely books YOU: i need two books and one hat THEM: the hat is really paramount for me. i can give you all other things YOU: no can do THEM: lol... ok. well, the hat is 9 for me so without it there will be no deal YOU: so i guess no deal, THEM: nope YOU: no deal THEM: indeed YOU: true.
Output:
No