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.

[EX Q]: Passage: The Mataram conquest of Surabaya or Mataram-Surabaya War was a military campaign by the Sultanate of Mataram in the early 17th century that resulted in the capture of the Duchy of Surabaya  and its allies in eastern Java, in modern-day Indonesia. Prior to this conquest, Mataram and Surabaya were rivals for power in central and eastern Java. The campaign began in 1614 when Mataram, under the leadership of Sultan Agung, attacked Surabaya's allies, including Wirasaba. Surabaya and its allies launched a counterattack but were defeated near Pajang in 1616. Over the next few years, Mataram gradually conquered members of the Surabayan alliance, and by 1620, the city of Surabaya itself was under siege, holding out until it surrendered in 1625. With this conquest, Mataram unified most of central and eastern Java under its control, and cemented its position as the dominant power in Java. Surabaya and other conquered areas would remain in Mataram's hands until it was ceded to the Dutch East India Company in 1743. 
Question: How many years from the beginning of Mataram's campaign did it take for the city of Surabaya to surrender? 
Answer type: Number 
[EX A]: 11.

[EX Q]: Passage: In 1942, the Imperial Japanese Army invaded the Federated Shan States from Thailand. The Japanese forces with superior air power went on to dislodge the Nationalist Chinese forces, who had been invited by the British for the region's defence, by November 1942. The Thai Phayap Army accompanied the Japanese forces on the invasion, including that of Kengtung in May 1942. The IJA allowed the Phayap Army to occupy Kengtung and parts of Mongpan state. Following the existing agreement between Thai Prime Minister Plaek Phibunsongkhram  and the Japanese Empire, on 18 August 1943, the Japanese government agreed to the Thai annexation of Kengtung and Mongpan states  The Thai government wanted the Karenni states and remaining southern Shan states but the Japanese assigned them to their client State of Burma in September 1943. The Thai army would remain there until the end of the war although the Thai government began to alter its position when the tide of war began to favour the allies. After the Phibun government fell in August 1944, the new government of Khuang Aphaiwong communicated to the British government it renounced all claims to the Shan states and northern Malaya, and that it would immediately return the territories to Britain. The Churchill government did not accept the Thai overture, and was prepared to retaliate. The Thai army evacuated the two Shan states only in August 1945. 
Question: How many Shan states were evacuated? 
Answer type: Number 
[EX A]: 2.

[EX Q]: Passage: With the coming of the spring of 1577, the fighting began anew. The Danzig army, led by the German mercenary commander Johann Winkelbruch , was about 7,000-12,000 strong , but with less than 1,000 cavalry. Winckelburg decided to crush the small army of Zborowski , but the Danzig army was utterly defeated by Zborowski in the battle of Lubiszewo on 17 April 1577. After the battle, the Danzig forces retreated behind the walls, citizens pulled down trees and houses in front of fortifications and a siege began. Reinforcement with King Batory arrived only in July. During it King Stefan was using heated cannonballs and turned back the flow of the Radunia river. Bathory had about 11,000 men, and Danzig, about 10,000. A surprise attack by the Danzigers managed to destroy two-thirds of the Polish artillery, vastly slowing the progress of the siege. In September 1577 Danzig and Danish fleets started a blockade of Polish trade along Elbing and attacked its suburbs. Their troops that landed were soon pushed back by Bathory's Hungarian infantry under Kacper Bekiesza, and the city council send a note thanking the King. However, after a few months, Stephen's army was unable to take the city by force. On 16 December 1577, the siege ended and citizens swore loyalty to Stefan's representatives Eustachy Wołłowicz and Andrzej Firlej. . 
Question: How many more men did Bathony have than Danzig? 
Answer type: Number 
[EX A]:
1000.