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

Ex Input:
THEM: hi i would like the hat and books and you can have the ball  YOU: i need the hat or i can't make a deal  THEM: i need the hat too. guess we wont be making a deal  YOU: no : ( sorry, it's worth 9 points, so there's nothing i can do  THEM: i understand. no worries  YOU: filler until we get the no deal button - agree no deal  THEM: yes agree  YOU: sometimes it's just a no win situation  THEM: yep. win some lose some  YOU: doodedoo.

Ex Output:
No


Ex Input:
THEM: i really need to catch up on my reading. could i have the book and a couple of balls please  YOU: i can give you all of the balls if i can have the hat and the book  THEM: i can't give up my book  YOU: okay then can i have the hat and all of the balls?  THEM: what if i keep the book and 1 ball  YOU: okay that works. thank you!

Ex Output:
Yes


Ex Input:
THEM: can i get the ball and all of the hats?  YOU: sorry, i need the ball. you can have all the hats though. i would need the ball and the book.  THEM: don't think i can do that. if you get the book then i need the ball and one hat  YOU: hats have no value for me. i really can't go any lower than a ball and a book.  THEM: what if i get the hats and the book?  YOU: i can't do that either. that would leave me with just 5.  THEM: and i would only have 3 if you get the ball and book.  YOU: so i guess we're stuck at no deal then.  THEM: yes either way you come out way better.  YOU: how may points do you get if i give up the book?  THEM: book and hats is only 4  YOU: so you get 8 total. that's not better for me. so no deal agreed then?  THEM: no i get a total of 4 with all of the hats and the book.  YOU: i can't do it without the book and the ball. sorry. no deal?  THEM: okay no deal.

Ex Output:

No


