Input: Joanna la Beltraneja, born in 1462, the first and only daughter of King Henry IV of Castile, was of Asturias. A rumour spread that Princess Joanna was not actually the daughter of King Henry but rather of Beltran de la Cueva, the alleged lover of Queen Joan of Portugal. Joanna was thus nicknamed "la Beltraneja", as a mocking reference to her assumed father. Pressure from members of the nobility forced the King to strip her of the title and name his half-brother Alfonso as heir, in 1464. In 1465, a group of nobility assembled in Avila and overthrew King Henry, replacing him with Alfonso. That led to a war that ended in 1468 with the death of the 14-year-old Alfonso. Henry IV regained the throne, but the title of heir became disputed between Joanna, his daughter, and Isabella, his half-sister. That was resolved via the Treaty of the Bulls of Guisando, which gave Isabella succession rights but restricted her marriage options. Isabella secretly married Ferdinand in 1469 at the age of 17, ignoring Henry IV's wishes. Gradually, the couple gained a larger number of supporters and obtained a papal bull sanctioning their marriage from Pope Sixtus IV in 1472 and gained the support of the powerful Mendoza family in 1473. When Henry IV died in December 1474, both candidates for the throne were proclaimed Queen of Castile by their respective supporters. Aware of their position of weakness against Isabella's supporters, Joanna's supporters proposed for the 43-year-old King Afonso V of Portugal, a widower for some 20 years, to marry Joanna, his niece, and assume the throne of Castile with her.

Question: How many years after Henry IV regained the throne did his half-sister secretly marry Ferdinand?

Input: The Czechoslovak Legion fought with the Entente; its goal was to win support for the independence of Czechoslovakia. The Legion in Russia was established in September 1914, in December 1917 in France and in April 1918 in Italy. Czechoslovak Legion troops defeated the Austro-Hungarian army at the Ukrainian village of Zborov, in July 1917. After this success, the number of Czechoslovak legionaries increased, as well as Czechoslovak military power. In the Battle of Bakhmach, the Legion defeated the Germans and forced them to make a truce. In Russia, they were heavily involved in the Russian Civil War, siding with the Whites against the Bolsheviks, at times controlling most of the Trans-Siberian railway and conquering all the major cities of Siberia. The presence of the Czechoslovak Legion near Yekaterinburg appears to have been one of the motivations for the Bolshevik execution of the Tsar and his family in July 1918. Legionaries arrived less than a week afterwards and captured the city. Because Russia's European ports were not safe, the corps was evacuated by a long detour via the port of Vladivostok. The last transport was the American ship Heffron in September 1920.

Question: The last transport from the American ship Heffron was how many years after the The Legion in France?

Input: Hoping to rebound from their tough divisional loss to the Giants, the Cowboys stayed at home for a Week 3 Monday night duel with the Carolina Panthers. After a scoreless first quarter, Dallas trailed in the second quarter as Panthers quarterback Jake Delhomme completed a 25-yard touchdown pass to tight end Dante Rosario. The Cowboys took control in the third quarter as kicker Nick Folk nailed a 24-yard field goal, followed by running back Tashard Choice getting a 5-yard touchdown run. Dallas pulled away with Folk's 19-yard field goal and cornerback Terence Newman returning an interception 27 yards for a touchdown (with Choice getting the 2-point conversion run).

Question: How many total points did the Texans score in their two playoff games in 2011-12??

Input: Trying to snap a four-game skid, the 49ers went home for a Week 8 intraconference duel with the New Orleans Saints. QB Alex Smith (who was recovering from a separate right shoulder since Week 4) was healthy enough to get the start. In the first quarter, San Francisco trailed early as Saints QB Drew Brees completed a 17-yard TD pass to WR Marques Colston, while kicker Olindo Mare nailed a 26-yard field goal. In the second quarter, the Niners' struggles continued as Brees completed a 2-yard TD pass to WR Terrance Copper, along with completing a 3-yard TD pass to Colston. In the third quarter, San Francisco managed to get on the board with kicker Joe Nedney getting a 29-yard field goal for the only score of the period. In the fourth quarter, New Orleans wrapped up the win with Brees and Colston hooking up with each other again on a 15-yard TD pass. The Niners' only response was Smith completing a 7-yard TD pass to TE Vernon Davis.

Question:
How many yards was the last touchdown pass of the game?