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 Q]: Passage: The Second Goryeo-Khitan War was an 11th-century conflict between the kingdom of Goryeo and the Liao dynasty  near what is now the border between China and North Korea. It was the second of the Goryeo-Khitan Wars, with the First Goryeo-Khitan War occurring in 993, the second in 1010, and the third in 1018. When King Seongjong died in 997, Liao invested his successor Wang Song as king of Goryeo . In 1009, he was assassinated by the forces of the general Gang Jo. Using it as a pretext, the Liao attacked Goryeo in the next year. They lost the first battle but won the second one, and Gang Jo was captured and killed. The Liao occupied and burnt the Goryeo capital Kaesong. The Khitan withdrew after Goryeo reaffirmed its tributary relationship with the Khitan.
Question: How did Wang Song die?
[EX A]: span

[EX Q]: Passage: The site of the current bridge is among several sites of a slave rebellion called the Stono Rebellion, one of the earliest known organized acts against slavery in the Americas.  On September 9, 1739, twenty black slaves raided a store near the bridge; in the process they killed two storekeepers and took guns and gunpowder. The bridge survived an attempt by Union forces to burn it during the American Civil War. Union troops floated burning rafts down to the Stono Bridge, hoping the wooden structure would catch fire and burn. However, their efforts were thwarted by a Lieutenant Smith, who along with members of a naval battalion, brought the rafts to shore. There have been several bridges in this location; the last variation was a two lane bridge 1,416 feet -long, which was built in 1928, and later refurbished in 1950. This swing-span drawbridge used a 156-foot -long steel-truss which left little room for even small vessels to pass beneath unless it was open.
Question: How many years passed between the bridge being built in 1928 and it being refurbished?
[EX A]: number

[EX Q]: Passage: In the south too, the Mon-speaking kingdom based out of Martaban had slowly come into its own. It formally broke away from its overlord Sukhothai in 1330. The southern kingdom's relationship with Sukhothai had always been an opportunistic arrangement from the beginning, designed to secure its rear in case of invasions from Upper Burma. In March 1298, just four years after he became a vassal of Sukhothai, when the Upper Burma ceased to be a threat, Wareru conveniently asked for and received recognition directly from the Mongol emperor as governor even though Sukhothai itself was already a vassal of the Mongols. Indeed, when Sukhothai grew weaker, Martaban seized the Tenasserim coast from Sukhothai in 1319. A decade later, Sukhothai tried to reassert control, reoccupying Tenasserim, and attacking Martaban in 1330. Martaban's defences held. It threw off any formal ties with Sukhothai. Nonetheless, the kingdom remained fragmented into three power centres: the Irrawaddy delta in the west, Pegu in the middle and Martaban in the southeast, each with its own chief, who pledged nominal allegiance to the high king. In 1363, Martaban revolted, and outlasted Pegu's armies. After six years, Pegu gave up. Martaban would be independent for another 20 years until 1389.
Question: What year did Pegu give up after Martaban revolted?
[EX A]:
date