Input: Sentence 1: He commands but also he serves. Sentence 2: He is both a commander and a servant.
Output: 

 yes