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 want the hat and and 2 balls.  YOU: i want the hat and 1 ball. you take the rest  THEM: i'll take the book but, i'll trade the hat for the rest of the balls.  YOU: i need at least one book to get two points  THEM: i need the hat or i get no points.  YOU: the hat is only worth 1 point for me and the ball one point for me  THEM: ill take the hat and one ball and leave you with the rest.  YOU: if i do that i have no points the book is 0 value  THEM: fine ill take the hat and the book.  YOU: you get book and two balls. deals  THEM: the hat is deal breaker.
Output:
No