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

Q: THEM: hi. ill take the books and balls. you can have the hats YOU: but there is only the one hat. how about i get the hat and two balls. you can have the books and one ball. THEM: ok.

A: Yes
****
Q: THEM: what do you want? YOU: the books THEM: ok YOU: ok.

A: Yes
****
Q: THEM: could i have a book and both hats YOU: you can have the hats, but i need the book and both balls. THEM: so i can have the books and both hats? YOU: no. i need the book and both balls. THEM: is i give you the book i will need everything else YOU: i can't give you that. at the very least i would need 1 book and 1 ball.

A:
Yes
****