Passage: The Xinhai Revolution overthrew the Qing government and two thousand years of monarchy. Throughout Chinese history, old dynasties had always been replaced by new dynasties. The Xinhai Revolution, however, was the first to overthrow a monarchy completely and attempt to establish a republic to spread democratic ideas throughout China. Though in 1911 at the provisional government welcome ceremony, Sun Yat-sen said, "The revolution is not yet successful, the comrades still need to strive for the future." . Since the 1920s, the two dominant parties-the KMT and PRC-see the Xinhai Revolution quite differently. Both sides recognize Sun Yat-sen as the Father of the Nation, but in Taiwan, they mean "Father of the Republic of China". On the mainland, Sun Yat-sen was seen as the man who helped bring down the Qing, a pre-condition for the Communist state founded in 1949. The PRC views Sun's work as the first step towards the real revolution in 1949, when the communists set up a truly independent state that expelled foreigners and built a military and industrial power. The father of New China is seen as Mao Zedong. In 1954, Liu Shaoqi was quoted as saying that the "Xinhai Revolution inserted the concept of a republic into common people". Zhou Enlai pointed out that the "Xinhai Revolution overthrew the Qing rule, ended 2000 years of monarchy, and liberated the mind of people to a great extent, and opened up the path for the development of future revolution. This is a great victory." Question: What happened first, the Yat-sen brought down Qing or Xinhai Revolution inserted concept of republic into people?
yatsen = 1949
xinhai = 1954

if yatsen < xinhai:
    print('Yat-sen brought down Qing')
else:
    print('Xinhai Revolution inserted concept of republic into people')