Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: my offer is 1 book and 1 hat  YOU: do deal i would like the hat and both basketballs you can have the books  THEM: no deal. i'll give you 2 books and 1 hat  YOU: no deal i'll take the hat, 1 basketball, and 1 book. you can have a 1 book and 1 basketball  THEM: i can't give you a ball. you can have everything else  YOU: i can't do that i can offer you take both books and i'll take the rest  THEM: ok i'll give you 1 ball and 1 book  YOU: no deal. i'll take the hat, 1 ball, and 1 book  THEM: can't do that. it's 1 ball and either 1 book or 1 hat  YOU: i will take one hat and 1 basketball you can have the rest.
Output:
No