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

THEM: you can have the hats and balls if i can have the book YOU: deal, i'm taking all hats and all balls and no books.
Yes

THEM: i just need the hat. YOU: okay.
Yes

THEM: i would like the 2 books you can have the hats and ball YOU: i would like 1 book and both hats THEM: i can give you both hats for both books YOU: i can do that so i will take 2 hats and you get 2 books who gets the ball THEM: you can have the ball YOU: ok deal i get 2 hats and 1 ball THEM: yes.
Yes