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: In 1343 Robert I the Sage, King of Naples, died. His only son, Charles of Calabria, had died in 1328, leaving two daughters, one of which, Joan, had been married to Andrew, son of king Charles I of Hungary. During his time in Naples, Andrew's more refined wife developed a fierce hostility towards him. After her father's death, she received from the Avignonese Pope Clement VI the official investment of the Kingdom, which was then nominally a vassal of the Papal States. Andrew, who also sought the crown, received only the title of Duke of Calabria. On June 14, 1345 Clement, after a payment of 44,000 marks, agreed to yield to Andrew the title of king, but only as heir in case of Joan's death. Joan, who was suspecred of having an affair with Louis of Taranto, was at the time under the strong influence of the latter's mother, Catherine of Valois. On September 19, the day before the investiture of Andrew as King, a conjure led by Catherine's relatives and courtesans had Andrew assassinated during a hunt at Aversa. Bertramo del Balzo, together with Fra Moriale, from the Hospitallers, discovered and punished the assassins, but suspicion of the queen's involvement in the assassination had already become widespread. In May 1346 Andrew's brother, King Louis of Hungary, sent envoys to Clement to ask for her deposition. Unsatisfied by the Pope's reply, he mustered an army, planning to embark his troops in Zara. However, at the time the maritime city had rebelled against the Venetians, whose ships were blockading its port. After a failed attempt to free it, the King had to postpone his expedition, while Zara returned under Venice's aegis.
Question: when did the father of Joan die?

Ex Output:
date


Ex Input:
Passage: On July 21, 1978 while still in current release in 38 theatres in the U.S., the film expanded into a 1,744 theatre national saturation windup of release and set a new U.S. weekend record of $10,202,726. The gross prior to the expansion was $221,280,994. The expansion added a further $43,774,911 to take its gross to $265,055,905. Reissues in 1979 ($22,455,262), 1981 ($17,247,363), and 1982 ($17,981,612) brought its cumulative gross in the U.S and Canada to $323 million, and extended its global earnings to $530 million. The film remained the List of highest-grossing films until E.T. the Extra-Terrestrial broke that record in 1983.
Question: Which year did the reissue of the movie gross more money, 1981 or 1982?

Ex Output:
date


Ex Input:
Passage: The population was spread out with 39,128 people (20.6%) under the age of 18, 15,906 people (8.4%) aged 18 to 24, 54,024 people (28.4%) aged 25 to 44, 53,978 people (28.4%) aged 45 to 64, and 26,956 people (14.2%) who were 65 years of age or older. The median age was 40.2 years. For every 100 females, there were 98.5 males. For every 100 females age 18 and over, there were 96.6 males.
Question: Which age group is larger: under the age of 18 or 65 years of age or older?

Ex Output:

span