Input: Sentence 1: An uprising spread against the Ranas, and Prime Minister Mohan Shumshere Rana resigned in 1951. Sentence 2: The prime minister resigned as an uprising against Ranas spread.
Output: 

 yes