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

[Q]: THEM: i need the ball and 2 hats YOU: ok, how about 1 hat and 1 ball for you and the rest mine? THEM: i'm going to need the ball and both hats YOU: ok deal.
[A]: Yes

[Q]: THEM: can i have the hats and a book please? YOU: what about 2 hats 1 ball THEM: all hats and ball? YOU: 2 balls 1 hat for you THEM: all hats and a ball final deal.
[A]: Yes

[Q]: THEM: what would you like today? YOU: i'll have the hats if you want the rest. THEM: i need at least 1 hat YOU: okay, can i have two hats and a ball? THEM: then i am negative. i need 3 hats you have the rest or 1 hat and eveyrthing else YOU: i'll take a book and two balls. you can have the hats. THEM: deal.
[A]:
Yes