This task involves creating answers to complex questions, from a given passage. Answering these questions, typically involve understanding multiple sentences. Make sure that your answer has the same type as the "answer type" mentioned in input. The provided "answer type" can be of any of the following types: "span", "date", "number". A "span" answer is a continuous phrase taken directly from the passage or question. You can directly copy-paste the text from the passage or the question for span type answers. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words. A "number" type answer can include a digit specifying an actual value. For "date" type answers, use DD MM YYYY format e.g. 11 Jan 1992. If full date is not available in the passage you can write partial date such as 1992 or Jan 1992. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words.

Q: Passage: On 5 October 1407, the prisoners were charged with high treason by the Ming imperial court. The Yongle Emperor asked them whether they had killed the former king and whether they had usurped the throne of the Trần royal family, but he received no answer in return. In the end, most of these prisoners were either imprisoned or executed. In June 1407, the Yongle Emperor annexed the conquered region as Jiaozhi  province. Lü Yi was appointed as the military commissioner, Huang Zhong as the vice-commissioner, and Huang Fu as the provincial administrator and the surveillance commissioner. Jiaozhi province became divided into fifteen prefectures, 41 sub-prefectures, and 210 counties. The first major signs of discontent against Chinese rule would surface when Tran Ngỗi  revolted in September 1408. Even though he would be captured by Zhang Fu in December 1408, Tran Qui Khoang  would continue the rebellion until his capture by Zhang Fu on 30 March 1414, formally ending the rebellion. Nevertheless, the region would continue to be plagued by several other uprisings during course of the Chinese domination, and the Ming occupation army was eventually evicted out of Vietnam in 1427 as the result of the Lam Sơn uprising. The Ming's ethnic Vietnamese collaborators included Mac Thuy whose grandfather was Mạc Đĩnh Chi who was a direct ancestor of Mạc Đăng Dung. 
Question: How many years after the rebellion ended was the Ming army evicted from Vietnam? 
Answer type: Number 

A: 13.
****
Q: Passage: Himachal Pradesh has a total population of 6,864,602 including 3,481,873 males and 3,382,729 females as per the final results of the Census of India 2011. This is only 0.57 per cent of Indias total population, recording a growth of 12.81 per cent. The scheduled castes and scheduled tribes account for 25.19 per cent and 5.71 per cent of the population respectively. The sex ratio stood at 972 females per 1000 males, recording a marginal increase from 968 in 2001. The child sex ratio increased from 896 in 2001 to 909 in 2011. The total fertility rate (TFR) per woman in 2015 stood at 1.7, one of the lowest in India. 
Question: How many more men lived in Himachal Pradesh in 2011 compared to females? 
Answer type: Number 

A: 99144.
****
Q: Passage: By 1735, misrule and extortion proved too much and the local people rose to fight. Some of them were desperate enough as to kill their wives and children before joining the rebellion, thus burning all bridges behind them. The uprising started in Taigong, then covering the area of Liping and Duyun. Local Qing administration, unable to cope with the rebels, suggested making a kind of agreement with them, but the Qianlong Emperor recalled the previous commanders and appointed Zhang Guangsi, an experienced officer under Ortai, to quell the rebellion. The uprising was bloodily suppressed, the last rebels doggedly fighting at Niupidajing. Altogether Qing armies destroyed approximately 1200 Miao forts and killed over 18,000 warriors. The campaign lasted from February to November 1736. Zhang, meanwhile appointed Governor-General of Guizhou, started to build roads, strengthening the garrisons and opening the mines, to enhance both imperial control and the economy of the region. The suppression of the revolt granted the area half a century of peace, but the deep causes of unrest remained unchanged and the tensions grew again, until Miaos rebelled anew in 1795. 
Question: How many months long was the campaign at Niupidajing? 
Answer type: Number 

A:
9.
****