Definition: This task involves creating answers to complex questions, from a given passage. Answering these questions, typically involve understanding multiple sentences. Make sure that your answer has the same type as the "answer type" mentioned in input. The provided "answer type" can be of any of the following types: "span", "date", "number". A "span" answer is a continuous phrase taken directly from the passage or question. You can directly copy-paste the text from the passage or the question for span type answers. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words. A "number" type answer can include a digit specifying an actual value. For "date" type answers, use DD MM YYYY format e.g. 11 Jan 1992. If full date is not available in the passage you can write partial date such as 1992 or Jan 1992. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words.
Input: Passage: The Second Cornish uprising is the name given to the Cornish uprising of September 1497 when the pretender to the throne Perkin Warbeck landed at Whitesand Bay, near Land's End, on 7 September with just 120 men in two ships. Warbeck had seen the potential of the Cornish unrest in the 1st Cornish Rebellion of 1497 even though the Cornish had been defeated at the Battle of Blackheath on 17 June 1497. Warbeck proclaimed that he would put a stop to extortionate taxes levied to help fight a war against Scotland and was warmly welcomed in Cornwall. His wife, Lady Catharine, was left in the safety of St Michael's Mount and when he decided to attack Exeter his supporters declared him 'Richard IV' on Bodmin Moor. Most of the Cornish gentry supported Warbeck's cause after their setback previously in June of that year and on 17 September a Cornish army some 6,000 strong entered Exeter, where the walls were badly damaged, before advancing on Taunton. Henry VII sent his chief general, Giles, Lord Daubeney, to attack the Cornish and when Warbeck heard that the King's scouts were at Glastonbury he panicked and deserted his army. Warbeck was captured at Beaulieu Abbey in Hampshire, where he surrendered. Henry VII reached Taunton on 4 October 1497, where he received the surrender of the remaining Cornish army. The ringleaders were executed and others fined an enormous total of 13,000. 'King Richard' was imprisoned, first, at Taunton, then in London, where he was 'paraded through the streets on horseback amid much hooting and derision of the citizens'. On 23 November 1499 Warbeck was drawn on a hurdle from the Tower to Tyburn, London, where he read out a 'confession' and was hanged.
Question: How many years did these events span?
Answer type: Number
Output:
2.