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.

Input: Consider Input: Passage: During the summer campaign of 1673, Turenne had the thankless task of trying to contain Leopold's troops under the command of Raimondo Montecuccoli. Montecuccoli finally joined with the Dutch troops of William III to besiege and take the city of Bonn from the French. In August 1673, The Habsburg monarchies of Spain and the Holy Roman Empire signed a formal alliance with the Republic that required that France be returned to her boundaries of 1659. This alliance was strengthened in October by Charles IV of Lorraine. Imperial and Dutch troops conquered the town of Naarden from the French on 13 September. The Spanish, who had yet to formally enter the war, declared war on the French on 16 October. At about the same time Frederick William re-entered the war against France. The position of Louis at this stage was bad enough, but it worsened when England made a separate peace, the Treaty of Westminster, with all of the nations arrayed against France on 19 February 1674. Charles II had been forced into making peace with the Republic by the Parliament which returned to session in October 1673.
Question: When did the Spanish declare war?

Output: date


Input: Consider Input: Passage: Prague employs almost a fifth of the entire Czech workforce, and its wages are significantly above average (~+25%). In December 2015, average salaries available in Prague reached 35,853 CZK, an annual increase of 3.4%, which was nevertheless lower than national increase of 3.9% both in nominal and real terms. (Inflation in Prague was 0.5% in December, compared with 0.1% nationally.) Since 1990, the citys economic structure has shifted from industrial to service-oriented. Industry is present in sectors such as pharmaceuticals, printing, food processing, manufacture of transport equipment, computer technology and electrical engineering. In the service sector, financial and commercial services, trade, restaurants, hospitality and public administration are the most significant. Service (economics) account for around 80 percent of employment. There are 800,000 employees in Prague, including 120,000 commuters. The number of (legally registered) foreign residents in Prague has been increasing in spite of the countrys economic downturn. As of March 2010, 148,035 foreign workers were reported to be living in the city making up about 18 percent of the workforce, up from 131,132 in 2008. Approximately one-fifth of all investment in the Czech Republic takes place in the city.
Question: Which year were there more foreign workers reported living in Prague, 2008 or 2010?

Output: date


Input: Consider Input: Passage: The fact that the Irish Civil War was fought between Irish Nationalist factions meant that the sporadic conflict in Northern Ireland ended. Collins and Sir James Craig signed an agreement to end it on 30 March 1922, but, despite this, Collins covertly supplied arms to the Northern IRA until a week before his death in August 1922. Because of the Irish Civil War, Northern Ireland was able to consolidate its existence and the partition of Ireland was confirmed for the foreseeable future. The continuing war also confirmed the northern Unionists' existing prejudices against the ethos of all shades of nationalism. This might have led to open hostilities between North and South had the Irish Civil War not broken out. Indeed, the Ulster Special Constabulary  that had been established in 1920  was expanded in 1922 rather than being demobilised. In the event, it was only well after their defeat in the Civil War that anti-treaty Irish Republicans seriously considered whether to take armed action against British rule in Northern Ireland . The northern units of the IRA largely supported the Free State side in the Civil War because of Collins's policies, and over 500 of them joined the new Free State's National Army. The cost of the war and the budget deficit it caused was a difficulty for the new Free State and affected the Boundary Commission negotiations of 1925, which were to determine the border with Northern Ireland. The Free State agreed to waive its claim to predominantly Nationalist areas in Northern Ireland and in return its agreed share of the Imperial debt under the 1921 Treaty was not paid.
Question: How many months after signing the agreement did Collins die?


Output: number