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.

Ex Input:
Passage: In 1525 Henry VIII of England wanted to mount an invasion of France  since the King of France, Francis I, had been captured by Holy Roman Emperor Charles V at the Battle of Pavia in 1525. Henry required additional funds of £800,000, so to gain said money Wolsey resorted to the Amicable Grant. The English Parliament was at this time unlikely to support war, since it was proving to be expensive. Furthermore, Henry's previous French endeavours, which had occurred in 1522 and 1523, had proved less than successful. 
Question: How many years after Henry's previous, less successful endeavors did he want to mount an invasion of France? 
Answer type: Number 

Ex Output:
2.


Ex Input:
Passage: Peck also received Oscar nominations for his roles in The Keys of the Kingdom (film) (1944), The Yearling (film) (1946), Gentlemans Agreement (1947) and Twelve OClock High (1949).  Other notable films in which he appeared include Spellbound (1945 film) (1945), The Gunfighter (1950), Roman Holiday (1953), Moby Dick (1956 film) (1956, and its Moby Dick (1998 miniseries)), The Big Country (1958), The Bravados (1958), Pork Chop Hill (1959), The Guns of Navarone (film) (1961), Cape Fear (1962 film) (1962, and its Cape Fear (1991 film)), How the West Was Won (film) (1962), The Omen (1976) and The Boys from Brazil (film) (1978). 
Question: How many films was Peck nominated for an Oscar before 1950? 
Answer type: Number 

Ex Output:
5.


Ex Input:
Passage: Genoa's allies included Hungary and Padua. The King of Hungary, Louis I, had conquered Dalmatia from Venice and by 1379 Hungarian forces threatened Venice itself by land from the north. Paduan forces, under the leadership of Francesco I da Carrara, cut off Venice's communications to the west.  Genoa's allies also included the Patriarch of Aquileia and Leopold III, the Duke of Austria. The danger on land seemed trifling to Venice so long as she could keep the sea open to her trade and press the war against the Genoese in the Levant.  Venice's allies, which included Bernabò Visconti of Milan, gave her little help on this side, although his mercenaries invaded the territory of Genoa. The Milanese troops were indeed  defeated in September 1379 in the Val Bisagno.  Bernabò, whose despotism and taxes had enraged the Milanese, was deposed by his nephew Gian Galeazzo Visconti in 1385. Imprisoned in the castle of Trezzo, he was poisoned in December of that year. Venice had the support of John V Palaiologos, Byzantine Emperor. In 1376, the Genoese helped Andronikos IV  overthrown John V, but in 1379 Venice restored the latter to the throne. 
Question: How many years after being overthrown was John V restored to the throne? 
Answer type: Number 

Ex Output:

3.