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

Input: Consider Input: THEM: gimme ballz  YOU: you can have balls if i can have the rest  THEM: gimme a book with the ball  YOU: no. you can only have ball if i can have all books and all hats.  THEM: bad deal for me then... why so mean?  YOU: bad deal for me, they didn't give me a lot to work with.  THEM: one of each for me, 2 books for u  YOU: no deal.  THEM: oh noes. gimme ball and a book  YOU: 1 ball for you. 3 books and 1 hat for me.  THEM: gimme ball and book  YOU: no deal.  THEM: i found a stale french fry.... i'll throw that in the pot. you good with that?

Output: No


Input: Consider Input: THEM: i would like the balls and a book  YOU: i want one book and two hats  THEM: i would really like that book along with the balls.  YOU: give me one ball to go with the hats  THEM: no i would rather just go with the two balls and you get everything else. do we have a deal?  YOU: ok deal.

Output: Yes


Input: Consider Input: THEM: what would you like  YOU: the balls and two books  THEM: just books  YOU: no deal. books and hat then  THEM: books only,  YOU: no can do  THEM: so you can do what  YOU: all books with either the hat or ball  THEM: one ball and all books for you  YOU: deal.


Output: Yes


