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

THEM: u would like the hat and the book please YOU: i also would like the book THEM: okay, i will take the hat and ball and you could keep the book? YOU: can i get 1 book and 1 ball, you can have 1 hat and 2 balls? THEM: sure YOU: thanks! deal! THEM: deal!
Yes

THEM: i want the basketball and two of the hats. YOU: how about the basketball and one hat THEM: okay, that works for me.
Yes

THEM: i just want the hats YOU: you can have two hats and i can get the rest? THEM: no sorry, i want two hats and one ball YOU: that won't work for me. you can have the hats and i'll take everything else if that works for you THEM: perfect.
Yes