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

THEM: you get all the books YOU: ok deal i will take all 3 books and you can have the rest THEM: deal.
Yes

THEM: i would like 2 balls, 2 hats and 1 book YOU: no. you can have the balls and 1 hat THEM: i can not have 1 book? YOU: no sorry i need both books THEM: you can have both books if i can have both balls and both hats YOU: how about i get both books and 1 hat? THEM: then i would like one book... YOU: sorry, no deal THEM: i get 2 balls, 1 hat 1 book YOU: no deal THEM: you can have both books and 1 hat YOU: deal.
Yes

THEM: all hats to me, everything else to you YOU: throw in one hat and you have a deal. THEM: ok.
No