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

THEM: i'd like the balls and book, you can have the hats  YOU: you can have the balls. i'll take the hat and one book.  THEM: i need both balls and books to get over half  YOU: yes. both balls are yours. i'd like all the hats and one book.  THEM: ok deal.
Yes

THEM: hi. ill take the book and hat and you can have all the balls  YOU: could i have the hat and two balls?  THEM: no sorry. that's the best deal i can do.  YOU: welp guess we sit here, please let me know when you are willing to renegotiate.  THEM: i gave you the best deal i could offer  YOU: i'm sure have but alas it isn't a very good deal for me.  THEM: fine. we can do you deal.
Yes

THEM: hello there. so, i'd really love to get the hat.  YOU: you get hat, i get all rest  THEM: i'll give you one book, and all the basketballs.  YOU: both books and 2 basketballs to me  THEM: i'll do both books, you can have the hat and the balls then.  YOU: ok  THEM: good deal.

Yes

