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

THEM: hello. if possible, i'd like the ball and two books please. i'd be willing to give you both hats.  YOU: how about a ball and 1 hat  THEM: i definitely can't give up the ball. i need the ball and two books.  YOU: i can do a ball and book  THEM: is that your final offer? you can do both books and a ball?  YOU: 1 book 1 ball  THEM: alright. i will take one book and one ball. you can have one book and one hat. deal?
Yes