You will be given a definition of a task first, then some input of the task.
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.

THEM: i need the books and 2 balls YOU: i can give you both books and 1 ball THEM: i really need the books and 2 balls YOU: i can do 1 book and 2 balls if you want,,, i need have something THEM: that isn't quite enough i really need another item YOU: you can have 2 books and 1 ball that leaveing us both with 3 items THEM: whatever, that's fine, you don't understand the game.
Output:
Yes