Input: Sentence 1: Nanzenji is a former 13th-century palace whose precincts now house a dozen affiliated temples and monasteries. Sentence 2: There are three temples and two monasteries at Nanzenji.
Output: 

 yes