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 outbreak of the Seven Years' War in Europe in 1756 resulted in renewed conflict between French and British forces in India. The Third Carnatic War spread beyond southern India and into Bengal where British forces captured the French settlement of Chandernagore in 1757. However, the war was decided in the south, where the British successfully defended Madras, and Sir Eyre Coote decisively defeated the French, commanded by Comte de Lally at the Battle of Wandiwash in 1760. After Wandiwash, the French capital of Pondicherry fell to the British in 1761. The war concluded with the signing of the Treaty of Paris in 1763, which returned Chandernagore and Pondichery to France, and allowed the French to have "factories" in India but forbade French traders from administering them. The French agreed to support British client governments, thus ending French ambitions of an Indian empire and making the British the dominant foreign power in India.
Question: Which french settlement did the British capture first, Chandernagore or Pondicherry?
Example output: span
Example explanation: The answer "Chandernagore" is a word from the passage. So, the answer type is "span".
Q: Passage: With this victory, John I was recognised as the undisputed king of Portugal, putting an end to the interregnum and anarchy of the 1383-1385 crisis. Recognition from Castile would not arrive until 1411, after another Portuguese victory at the Battle of Valverde, with the signing of the Treaty of Ayllon. The English-Portuguese alliance would be renewed in 1386 with the Treaty of Windsor and the marriage of John I to Philippa of Lancaster, daughter of John of Gaunt. In 1387, taking advantage of the renewed alliance, John I, leading a Portuguese army of 9,000 men, reinforced by a 1,500-man English contingent that landed in Galicia, invaded Castile to sit John of Gaunt on the Castilian throne, which he claimed on his marriage to Infanta Constance of Castile. The Castilian forces refused to offer battle, after two months no significant town was taken and the allies, struck by disease and lack of supplies, met with an overwhelming failure. The treaty, still valid today, established a pact of mutual support between the countries: Indeed, Portugal would use it again against its neighbours in 1640, to expel the Spanish Habsburg kings from the country, and again during the Peninsular War. The Anglo-Portuguese Alliance would also be used by Britain in the Second World War and during the 1982 Falklands War.
Question: In which two years was the Anglo-Portuguese alliance used?
A:
span