Given the task definition and input, reply with output. Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.

THEM: can i have the basketball and 2 hats? YOU: i can't make that deal. if i can have the ball and two books i will give you two hats and one book THEM: i need the ball. you can have the books. how about i take a ball and hat? YOU: i can't do that. can i have the books and the hats and you can have the ball? THEM: yes YOU: perfect! so you get the ball and i get everything else.
Yes