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

Q: THEM: i can offer 1 book and 1 ball YOU: deal.

A: Yes
****
Q: THEM: i would like the cowboy hats and books, please. YOU: i have to have book. you can have the rest. THEM: sounds good.

A: No
****
Q: THEM: a book and a ball. YOU: i'd need to have both hats and all the balls THEM: no. give me one of whichever is worse for you, the hat or the ball, plus the book. YOU: fine, you can have the book and one ball THEM: deal.

A:
Yes
****