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.

[EX Q]: Passage: The revenue of Pahang in 1899 amounted to only $62,077; in 1900 to $419,150.  In 1905 it was $528,368.  The expenditure in 1905 amounted to $1,208,176.  Of this sum $736,886 was expended on public works.  Pahang is still a source of expense to the federation, its progress having been retarded by the disturbances which lasted from December 1891 until 1895, with short intervals of peace, but the revenue was steadily increasing, and the ultimate financial success of the state is considered to be secure.  Pahang owed something over $3,966,500 to Selangor and $1,175,000 to Perak, which had financed it for some years out of surplus revenue.  The value of the imports in 1905 was $1,344,346, that of the exports was $3,838,928, thus making a total trade value of $5,183,274.  The most valuable export is tin, the value of which in 1905 amounted to $2,820,745. The value of the gutta exported exceeded $140,000, that of dried and salted fish amounted to nearly $70,000, and that of timber to $325,000.
Question: Was the revenue of Pahang higher in 1899 or 1905?
[EX A]: date

[EX Q]: Passage: On July 24, 1580, António proclaimed himself as King of Portugal and of the Algarves, in Santarém, which was followed by popular acclamation in several locations of the country. However, he governed in Continental Portugal for only 33 days, culminating in his defeat at the Battle of Alcântara by the Spanish armies led by Fernando Álvarez de Toledo, Duke of Alba on August 25. The Battle ended in a decisive victory for the Spanish Habsburgs, both on land and sea. Two days later, the Duke of Alba captured Lisbon. In early 1581, António fled to France and, as Philip's armies had not yet occupied the Azores, he sailed there with a number of French adventurers under Filippo Strozzi, a Florentine exile in the service of France, but was utterly defeated at sea by a combined Spanish-Portuguese navy commanded by Don Álvaro de Bazán, 1st Marquis of Santa Cruz at the Battle of Ponta Delgada off Terceira Island on July 26, 1582 and off São Miguel Island on July 27, 1582. António still accompanied an English Expedition, under the command of Sir Francis Drake and Sir John Norreys, to the coasts of Spain and Portugal but the Expedition failed and António's attempt to rule Portugal from Terceira Island, in the Azores  came to an end in 1583.
Question: Which date was António no longer King?
[EX A]: date

[EX Q]: Passage: The first instance of France-Thailand contacts is also the first historical record of an attempt to introduce Christianity to Siam: according to Giovanni Pietro Maffei, about 1550 a French Franciscan, Bonferre, hearing of the great kingdom of the Bagoans and the Thai in the east, went on a Portuguese ship from Goa to Cosme , where for three years he preached the gospel without any result. The first major contacts between the two countries occurred after Thailand was made an apostolic vicariate by Pope Alexander VII on 22 August 1662. The mission was assigned to the newly formed Paris Foreign Missions Society to evangelize Asia, and Siam became the first country to receive these efforts, to be followed by new missions 40 years later in Cochinchina, Tonkin and parts of China, because Siam was highly tolerant of other religions and was indeed the only country in Southeast Asia where the Catholic Fathers could establish themselves safely. Monseigneur Pierre Lambert de la Motte, Bishop of Beirut, Vicar-Apostolic of Cochinchina, and member of the Missions Etrangères de Paris, accompanied by Fathers De Bourges and Deydier, left Marseille on 26 November 1660, and reached Mergui 18 months later. He arrived in the Ayutthaya Kingdom in 1662.
Question: Where was the last place that Pierre Lambert de la Motte went?
[EX A]:
span