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

Ex Input:
THEM: i'd like the book and the hat. YOU: if i can have the book and the balls you can have the hat THEM: i have absolutely have to have atleast the book or i can't make a deal. YOU: you can have the book if i can have the rest THEM: deal. YOU: great! thank you!

Ex Output:
Yes

Ex Input:
THEM: if i can have the hats and the book you can have the ball YOU: umm no i will take the ball but need 1 hat and the book too THEM: i can not give up the hats if you want you can have the ball and the book YOU: i need at least 1 hat THEM: i can not make that deal YOU: i can take 1 hat and 1 ball, you could hae 2 hats and the book? THEM: i can not make that deal. i need the hats. YOU: really?? you will make it with just 1 less hat dont you think? THEM: i suppose. YOU: so i will take 1 ball and 1 hat, you take the rest deal? THEM: deal. thank you.

Ex Output:
Yes

Ex Input:
THEM: what item is worth the most to you? YOU: i need the hat and a book if tht's ok? THEM: i really need the hat, its essential for me. YOU: ok, take the hat and i'll take books and balls THEM: okay deal.

Ex Output:
Yes