Input: Sentence 1: Combining Shinto ritual with official Buddhist conformity, they revived the Confucian ideals of filial piety and obedience to authority to bolster their government. Sentence 2: They mixed both Shinto and Buddhist traditions while in power.
Output: 

 yes