Input: Sentence 1: Simon Peter's house and the synagogue are adjacent to one another. Sentence 2: There are no synagogues near to Simon Peter's house.
Output: 

 yes