Input: Sentence 1: Once inside, you will see how the mosque earned its familiar name. Sentence 2: You can see how the mosque earned its name when you enter.
Output: 

 yes