This task involves annotating the answer type to a given question that involve some kind of complex reasoning (including numerical reasoning). Note that the questions require looking at more than one part of the passage to answer. There are 3 possible answer types (i) spans, (ii) numbers and (iii) dates. If the answer can be found in the passage, label it as "span". If the answer is a number, label as "number". Similarly, label "date" if you think the answer to the given question is a date.
--------
Question: Passage: Frederick had been King of Jerusalemand as such claimed suzerainty over Cyprusin right of his wife Isabella II until her death in 1228. That year he arrived first in Cyprus, where he antagonised the nobles, and then in Jerusalem, where he stayed until 1229, leaving in humiliating circumstances after having produced an anti-imperialist reaction in the people. In 1231 he sent Riccardo Filangieri as his marshal. His attempt to assert his authority was opposed by John of Ibelin, the Old Lord of Beirut, who had been regent until Frederick's arrival. On John's death in 1236 the war was taken up by his son Balian. In 1239 Philip of Montfort assumed the leadership of the opposition. Though the ecclesiastical hierarchy and the Knights Templar supported the nobility, the Teutonic Knights and Knights Hospitaller supported Filangieri. In general his rights as regent were recognised but his practical power was denied on the basis of the Assizes and the Haute Cour. His headquarters were in Tyre and he had the allegiance of Bohemond V, Prince of Antioch and Count of Tripoli. He also held the Holy City of Jerusalem itself, which had been negotiated away from the Saracens by Frederick. So long as the Ibelins controlled the opposition, Filangieri could count on the support of their enemies as well. The Italian cities were also divided between the two factions: Pisa supported Filangieri and Genoa the Ibelins. The Ibelins controlled Beirut, Arsuf, and Caesarea as well as the old capital of Acre. In 1231 the citizens of Acre formed a commune with their headquarters at the church of Saint Andrew's in order to unify their opposition to Filangieri. In 1232 John of Ibelin was elected its mayor.
Question: How many years after the citizens of Acre formed a commune to unify their opposition to Filangieri was John of Ibelin elected its mayor?

Answer: number

Question: Passage: The United States occupation of Nicaragua from 1912 to 1933 was part of the Banana Wars, when the US military forcefully intervened in various Latin American countries from 1898 to 1934. The formal occupation began in 1912, even though there were various other assaults by the U.S. in Nicaragua throughout this period. American military interventions in Nicaragua were designed to stop any other nation except the United States of America from building a Nicaraguan Canal. Nicaragua assumed a quasi-protectorate status under the 1916 Bryan-Chamorro Treaty. But with the onset of the Great Depression and Augusto C. Sandino's Nicaraguan guerrilla troops fighting back against U.S. troops, it became too costly for the U.S. government and a withdrawal was ordered in 1933.
Question: What event happened first, the Bryan-Chamorro Treaty or The US withdrawal?

Answer: span

Question: Passage: The Romanian army was composed of 92 battalions , 58 cavalry squadrons , 80 artillery batteries of calibers up to 155mm, two armored trains and some support units. They were positioned along three lines. The first line was manned by the 16th Division in the north and the 18th Division in the south. More powerful units manned the second line: the 2nd Vanatori Division in the north, concentrated in and around Nyiregyhaza , and the 1st Vanatori Division in the south, concentrated in and around Bekescsaba . The third line was manned by Romania's strongest units: the 1st and 6th infantry divisions, the 1st and 2nd cavalry divisions and support units. The third line lay on the railway from Nagykaroly , through Nagyvarad and north of Arad. The 20th and 21st infantry divisions were tasked with maintaining public order behind the third line. The first line was thin, as it was supposed to fight delaying actions until the true intentions of the attacking Hungarian army were revealed. After that, together with troops in the second line, the first line was to be held until troops in the third line could mount a counterattack. The Romanian command planned to use the railways under its control to move troops. The Romanians were highly motivated to fight to unify all the lands of Romanian people into one nation. This had been a goal for quite some time and was supported by Woodrow Wilson's principles of self-determination and nation state. The Romanian soldier was usually a World War I veteran.
Question: How many battalions, cavalry squadrons, and artillery batteries did the Romanian army have?

Answer:
number