Input: Sentence 1: He got up, and so did she. Sentence 2: They both sat down.
Output: 

 yes