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: what would you like  YOU: the hat i definitely need.  THEM: just hat then  YOU: if you don't need any books i would like to take at least 1 but if you need them i understand  THEM: nope  YOU: nope what?  THEM: meaning you get just hat  YOU: thats fine. deal.
Output:
Yes