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

Example Input: THEM: hello, may i have the hat and the balls? you can have 4 books. YOU: you can have the hat but, i would need the rest THEM: i will need at least the 2 balls. would you like the hat and 4 books? YOU: i need the balls as well. can we split them / THEM: okay, can i have 1 ball and the hat then? you can have 1 ball and the books YOU: deal. thank you.
Example Output: Yes

Example Input: THEM: i'll offer the ball and a book YOU: i need 1 hat and 2 books THEM: i can't give the hat, i'll offer the ball and 2 books YOU: can i have 3 books than and you keep ball and hat? THEM: no, can't do that one YOU: how about i get 1 book and 1 hat? THEM: the ball and 2 books is the best i can do YOU: ill settle for 3 books or 1 book and 1 hat THEM: i can't do either, guess we won't come a deal on this one YOU: i guess no deal then >. <
Example Output: No

Example Input: THEM: you can have a hat and a ball i'll take the rest. YOU: ok THEM: okay it's a deal.
Example Output:
Yes