Input: Sentence 1: The church was converted into a mosque in 1511, but fortunately it was not substantially altered. Sentence 2: The interior of the church was completely altered after it was turned into a mosque.
Output: 

 yes