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

Ex Input:
THEM: give me the books and the hat, you can have the ball?  YOU: how many of each item do you want?  THEM: i'll just take all the books and the hat.  YOU: i'll give you 3 books and, in exchnage, i want 2 balls  THEM: how about 2 books and the ball to me?  YOU: naw. let's try 2 books and 1 hat for you and 1 ball and 1 hat for me?  THEM: i'll just take the ball with 1 books, you can have 3 books and the hat.  YOU: no dice. how about 1 ball and 1 hat for you. i want 1 hat and 1 ball.  THEM: i can't give you the ball, but i can give you all the books and the hat.  YOU: no. i want at least 1 ball and 1 hat. what is the best you can offer me?  THEM: i only have 4 books, 1 hat, 1 ball.

Ex Output:
No


Ex Input:
THEM: i want three hats and one ball please  YOU: sorry, i need 3 hats and one book or ball  THEM: no then we need to share i can take 2 hats and 1 book and 1 ball?  YOU: that`s not fair sharing  THEM: well give me three hats and take the rest then  YOU: that`s 4 points for me. totally not fair  THEM: its same for me i don't have any use for it as well then no deal i guess  YOU: then no deal sorry.

Ex Output:
No


Ex Input:
THEM: if i can have the hats and the balls you can have the book  YOU: i'll take the hats and book. you can have the basketballs.  THEM: i need at least one hat as well  YOU: the balls and book are of little value. i have to have the hats to make it a decent deal.  THEM: would you be willing to accept one hat and the book?  YOU: you have no need for the book?  THEM: it is of little value to me  YOU: would you be willing to take the balls and book and let me have both hats?  THEM: okay deal.  YOU: sounds good. deal!

Ex Output:

Yes


