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

Ex Input:
THEM: i want the hats and a book  YOU: you can have the hats. but i have to have the book.

Ex Output:
Yes


Ex Input:
THEM: i'd like the ball and 2 hats  YOU: i will let you have all the hats if you let me have the ball and the book  THEM: that doesn't work, i need the ball.  YOU: i also need the ball, how about you can have the book and the hats and i get the ball  THEM: sorry, no deal.  YOU: no deal in that case  THEM: no deal, setting all numbers to 0.  YOU: agree to 0 s  THEM: agree to 0 s  YOU: i cant get the no deal button to work.

Ex Output:
No


Ex Input:
THEM: if i can have the hats and the ball you can have the books  YOU: i am mostly interested in the ball. can i have the ball while you keep both hats and both books?  THEM: okay deal.

Ex Output:

Yes


