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

Ex Input:
THEM: can i get 2 hats?  YOU: no. there's only one hat. i would like the hat and you can have everything else.  THEM: you can have the 3 books, but not the hat or ball  YOU: no i want the hat  THEM: not giving that one up  YOU: me neither.  THEM: how about the balls?  YOU: you can have the balls. i'd like the hat and 1 book.  THEM: ok, so i get 2 balls and you get the hat and the book  YOU: deal.  THEM: deal agreed button isn't working on my end.

Ex Output:
No


Ex Input:
THEM: i would like 2 balls and book  YOU: i would like the book and the hats  THEM: how about i have 2 balls and 1 hat?  YOU: ok and i will take the book and 2 hats.

Ex Output:
Yes


Ex Input:
THEM: you can have the hats if i can have the book and ball  YOU: can you trade a hat or two for the book?  THEM: the book is too valuable to me to give up  YOU: trade a hat for the ball?  THEM: sure  YOU: so 3 hats and a ball for me, 1 hat 1 book for you?  THEM: yes.

Ex Output:

Yes


