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

[Q]: THEM: give me the balls and hat YOU: balls are five for me THEM: give me one ball and the hat, and all books YOU: nah, sorry, i need all books and oneball THEM: ok YOU: so you take hat and one ball.
[A]: Yes

[Q]: THEM: can i have the two hats and the books? YOU: i need books and balls THEM: ok i will take the hats and you can have the rest YOU: deal.
[A]: No

[Q]: THEM: i'll take a ball book and a hat YOU: the ball is critical to me. would you allow me to take the ball and two books? THEM: how anout the ball and one book YOU: i'd like 3 items as well THEM: anything below that and i'm sunk mathmatically YOU: ok. i'll take the ball and one book then.
[A]:
Yes