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 Input:
Passage: The Bethencourt era ended in 1418 when Maciot sold his holdings and the rights to subjugate the remaining islands to Enrique Pérez de Guzmán. From this point on the intervention of the King of Castile increased. Between 1418 and 1445 dominion over the islands changed hands on a number of occasions. Finally, control over the conquered islands and the right to further conquests fell to Hernán Peraza The Elder and his children Guillén Peraza and Inés Peraza. The death of Guillén Peraza in the attack on La Palma has been immortalized in a moving lament. After the death of her brother Inés and her husband Diego García de Herrera became the sole rulers of the islands until 1477 when they ceded La Gomera to their son Hernán Peraza The Younger and the rights to the conquest of La Palma, Gran Canaria and Tenerife to the King of Castile. The island of La Gomera was not taken in battle but was incorporated into the Peraza-Herrera fiefdom through an agreement between Hernán Peraza The Elder and some of the insular aboriginal groups who accepted the rule of the Castilian. However, there were a number of uprisings by the guanches due to outrages committed by the rulers on the native Gomeros. The last one, in 1488 caused the death of the islands ruler, Hernán Peraza, whose widow, Beatriz de Bobadilla y Ossorio, had to seek the assistance of Pedro de Vera, conqueror of Gran Canaria, in order to snuff out the rebellion. The subsequent repression caused the death of two hundred rebels and many others were sold into slavery in the Spanish markets.
Question: What year did the rebellion end?

Ex Output:
date


Ex Input:
Passage: Although Satsunan literally means the south of Satsuma Province, the north-eastern group of the Ōsumi Islands formed Tane Province for a brief period in the 8th and 9th centuries and then were merged into Ōsumi Province. The Tokara Islands and the northwestern group of the Ōsumi Islands belonged to Kawanabe District of Satsuma Province. The Amami Islands paid tribute to the Ryukyu Kingdom to the South until they were put under direct control in the late 16th century, but were conquered in 1609 by the Satsuma Domain. In 1879, the Amami Islands became Ōshima District of Kagoshima Prefecture. The Tokara Islands and the north-western group of the Ōsumi Islands were transferred to Ōshima District in 1897, and then to Kagoshima District in 1973. After World War II, the Tokara and Amami Islands were put under United States military occupation, which formed the Government of the Northern Ryukyus. The Japanese government fiercely contested the Amami Islands being affiliated with the word "Ryukyu", believing that it would lead to a later return of the islands to their control. The Tokara Islands were returned to Japan in 1952, which were followed by the Amami Islands in December 1953.
Question: Which island was returned to Japan last?

Ex Output:
span


Ex Input:
Passage: During World War II, the Lingayen Gulf proved a strategically important theatre of war between American and Japanese forces. On 22 December 1941, the Japanese 14th Army under Lieutenant General Masaharu Homma landed on the Eastern part of the gulf at Agoo, Caba, Santiago and Bauang, where they engaged in a number of relatively minor skirmishes with the defenders, which consisted of a poorly equipped contingent of predominantly Filipino and American troops, and managed to successfully invade and occupy the gulf. Following the defeat, the next day General MacArthur issued the order to retreat from Luzon and withdraw to Bataan. For the next three years, the gulf remained under Japanese occupation prior to the Lingayen Gulf Landings. At 09:30 on 9 January 1945, the U.S. 6th Army conducted an amphibious landing on the gulf, following a devastating naval bombardment, with 68,000 troops landing on the first day alone, and a total of 203,608 in following landings along a 20 mi  beachhead, stretching from Sual, Lingayen, and Dagupan  in the west, and San Fabian  in to the east. Despite the Americans' success in driving out the Japanese army encamped at the Gulf, the Americans suffered relatively heavy losses, particularly on their convoys due to Japanese kamikaze suicide attacks. From 4 through 12 January, a total of 24 ships were sunk and 67 damaged by kamikaze planes, including the battleships USS Mississippi and Colorado , the heavy cruiser USS Louisville , the light cruiser USS Columbia, and the minesweepers USS Long and Hovey. Following the amphibious landings, the Lingayen Gulf was turned into a vast supply depot for the rest of the war to support the American and Filipino assaults on Manila and the rest of Luzon, and thence to Okinawa.
Question: In what year did the Japanese lose control of the Lingayen Gulf?

Ex Output:

date