Input: Sentence 1: After a varied history as town hall, residence, stable, and church, it was saved from plans devised by Louis XIV's minister Colbert to move it stone-by-stone to Versailles. Sentence 2: It was used as a town hall, residence, stable, and church.
Output: 

 yes