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

THEM: i need all three books you can have the rest. YOU: i'll take that deal THEM: okay agreed.
Yes

THEM: you take all hats and i keep the rest YOU: no, i want the hats and two balls THEM: one ball YOU: 2 balls THEM: one ball YOU: 2 balls THEM: no balls YOU: 2 balls THEM: ok deal, hats and two balls.
Yes

THEM: i'd like the ball and two hats - you can have the 3 books? YOU: i can live with that.
Yes