Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: can i have 1 of each? YOU: i would like both books and a hat THEM: i need at least 1 book and 1 hat, you can have the rest YOU: i need both books and you can have the rest THEM: sorry, i meant i need 1 book and 1 ball. YOU: i can give you the ball and one hat THEM: sorry, i still need 1 book. YOU: okay i get one book and both hats then THEM: deal. i get 1 book and 1 ball. thanks.
Output:
Yes