Input: Sentence 1: Before heading into the inner sanctum of the temple, stride along the Avenue of Ram-Headed Sphinxesthatpointsinthe direction of Karnak Temple to the north. Sentence 2: Before going inside of the temple walk along the avenue.
Output: 

 yes