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

THEM: hello YOU: i'll take the hat and balls THEM: i will give you the hats YOU: hat and 2 balls THEM: ok.
No

THEM: hi, i need the book and the 2 hats. you can have 4 balls YOU: you can have the book and 1 hat if i can have the balls and 1 hat.
Yes

THEM: what would you like? YOU: the hats and either the ball or one book THEM: how about i get the ball and 2 hats. you get the books and 1 hat YOU: the hats are where most of the points are for me. i could do it if i get 2 hats and all the books THEM: ok.
Yes