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: i'll take a hat and two books and you can have the rest if that works for you  YOU: you can have the books ill take the hat and the ball  THEM: i need the hat and at least 1 book to make 6 / 10  YOU: i need the hat and the ball to get 10 / 10  THEM: losing the hat gives me 4 / 10.... the balls are zero points for me  YOU: losing the hat will give me 2 / 10  THEM: guess we cant make this deal work on either side =(  YOU: yup impossible unless one person gets low points glad you understand  THEM: click on no deal then.....  YOU:.... really i didnt know that.
Output:
No