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

Q: THEM: i would like the hat at least. i can work with the rest YOU: ok, i'll take the ball and two books THEM: ok that is good.

A: Yes
****
Q: THEM: so i get 1 book, two of the hats? YOU: sounds fair THEM: ok.

A: Yes
****
Q: THEM: i'd like balls and 1 book. YOU: no, no - best is 2 books 1 ball for me THEM: no deal. hats are worthless to me. i can do 1 ball and 2 books for me. YOU: looks like we need the same ; let's do 1 of each THEM: what are hats for you? YOU: 1 THEM: then you take 2 hats, 1 book and a ball. YOU: agreed.

A:
Yes
****