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

Example Input: THEM: can i have one book and one ball? YOU: you can have both books if i can have the ball and hats THEM: ok deal.
Example Output: No

Example Input: THEM: i want the hat and book. you get the balls in exchange. YOU: balls are 0 for me. i want hat, all the rest for you THEM: ok deal.
Example Output: Yes

Example Input: THEM: i want the book and 2 basketballs you can have the hats YOU: how about i get 1 book and 1 hat THEM: no deal i can give you 2 hats and 1 basketball YOU: 1 book and 1 hat. final offer THEM: i can't give up the book. i will take the book you can have the rest YOU: i need the book THEM: so do i YOU: no deal then THEM: well that isn't good YOU: sorry.
Example Output:
No