Input: Sentence 1: The tax is recognized as a nonexchange revenue by the entity that is legally entitled to the amount. Sentence 2: The entity that is legally entitled is recognized as nonexchange revenue.
Output: 

 yes