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 will give you all 3 books if i can have the hat and ball YOU: no deal. i need the same. if we can split the difference i could take the hat and two books and you could have the ball and one book THEM: if i give you the hat can i have 3 books and the ball YOU: no, i would still need something else. i would need either the ball or two books THEM: then i need the ball and the hat or no deal. you should have compromised.
Output:
No