Input: Sentence 1: Iowa and Nebraska Sentence 2: The states of Iowa and Nebraska.
Output: 

 yes