Input: Sentence 1: Japan's austere, ruthless, but statesmanlike new ruler, Yoritomo Minamoto, set up his government in Kamakura (just south of modern Tokyo), well away from the  softening  influence of court life that had been the undoing of his predecessor, Kiyomori. Sentence 2: Yoritomo Minamoto ruled for several decades after he took power.
Output: 

 no