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

Q: THEM: if i can have the book and the hats you can have the balls YOU: yeah i need the book and all balls and you keep the rest THEM: i can not make a deal without the book YOU: so you keep only book then THEM: okay that's fine. deal. YOU: book is ten for you? THEM: no, it is 6.

A: Yes
****
Q: 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.

A: Yes
****
Q: THEM: i woud like the hats, you can have the rest YOU: ok.

A:
Yes
****