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.

Example Input: Passage: The Azov campaigns of 1695-96 , were two Russian military campaigns during the Russo-Turkish War of 1686-1700, led by Peter the Great and aimed at capturing the Turkish fortress of Azov , which had been blocking Russia's access to the Azov Sea and the Black Sea.  Since the Crimean campaigns of 1687 and 1689 had failed because of the difficulty of moving a large army across the steppe, Peter decided to try a river approach.
Question: How many years did the war last?
Example Output: number

Example Input: Passage: When Major General Nathanael Greene took command in the South, Marion and Lieutenant Colonel Henry Lee were ordered in January 1781, to attack Georgetown but were unsuccessful. In April they took Fort Watson and in May they captured Fort Motte, and succeeded in breaking communications between the British posts in the Carolinas. On August 31, Marion rescued a small American force trapped by 500 British soldiers, under the leadership of Major C. Fraser. For this action he received the thanks of the Continental Congress. Marion commanded the right wing under General Greene at the Battle of Eutaw Springs. In January 1782, he was elected to a new State Assembly at Jacksonborough and left his troops to take up his seat. During his absence his brigade grew disheartened, particularly after a British sortie from Charleston, and there was reportedly a conspiracy to turn him over to the British. But in June of that year, he put down a Loyalist uprising on the banks of the Pee Dee River. In August he left his brigade and returned to his plantation. In 1782, the British Parliament suspended offensive operations in America, and in December 1782, the British withdrew their garrison from Charleston. The war was brought to an end by the Treaty of Paris.
Question: When did Marion rescue the American force?
Example Output: date

Example Input: Passage: The last action of the war was on the part of the Catalan barons of Roussillon and Cerdagne, which had been assigned to France as surety for war subsidies. The French were only slowly expelled. On 1 February 1473, John entered Perpignan to the joy of its citizens. He placed Catalan garrisons in the castles of Bellegarde, Collioure, and Salses. The French, angered by the abridgement of the treaty of Bayonne, counter-attacked a few weeks later, but some Castilian troops under Prince Ferdinand successfully resisted. John began negotiations that led to a truce in July and a treaty at Perpignan on 17 September. John recognised the treaty of Bayonne in return for French recognition of his sovereignty in the disputed provinces. John agreed to pay 300,000 écus, and Roussillon and Cerdagne were proclaimed "neutral" until the payment was made. John returned to Barcelona triumphant, but failed to raise the necessary funds. In the summer of 1474 the French conquered Roussillon and March 1475 Perpignan fell to them. The French raided the Empordà as far as Girona in 1476, and John, his allies tied up by their own wars, could not even oppose them. In October 1478 he ceded the two provinces to France until he could redeem them with cash. Revolts against his authority flared in Aragon and Valencia, which had stayed out of the civil war, and he failed to put them down. He did succeed in quashing a revolt in Sardinia.
Question: How many days passed between John entering Perpignan and the treaty at Perpignan?
Example Output:
number