Problem: When the war started, John II had been King of Navarre since 1425 through his first wife, Blanche I of Navarre, who had married him in 1420. When Blanche died in 1441, John retained the government of her lands and dispossessed his own eldest son, Charles , who was made Prince of Viana in 1423. John tried to assuage his son with the lieutenancy of Navarre, but his son's French upbringing and French allies, the Beaumonteses, brought the two into conflict. In the early 1450s they were engaged in open warfare in Navarre. Charles was captured and released; and John tried to disinherit him by illegally naming his daughter Eleanor, who was married to Gaston IV of Foix, his successor. In 1451 John's new wife, Juana Enriquez, gave birth to a son, Ferdinand. In 1452 Charles fled his father first for France, later for the court of his uncle, John's elder brother, Alfonso V at Naples. From 1454 John governed his brother's Spanish realmsthe Crown of Aragonas lieutenant. When Alfonso died in 1458, Charles was arrested and brought to Majorca. John succeeded Alfonso as ruler of the Crown of Aragon. In his will John named Charles as his heir. Among John's early unpopular acts was to quit the war against Genoa, upsetting the merchants of Barcelona. He also refused to aid his nephew, Ferdinand I of Naples, in securing his throne.
Answer this question based on the article: How many years did Charles' reign as Prince of Viana precede John II's reign as King of Navarre?
A: 2

Problem: The Warriors ended the season with a record of 5131. The team won more than 50 games for only the fourth time in franchise history, finished 20 games over .500 for the first time in 22 years, and tied the 199192 squad for the franchises all-time mark of 24 wins on the road. Even without Bogut, the Warriors battled the third-seed Los Angeles Clippers to a seventh and deciding game in the first round of the playoffs before their 201314 season came to an end. It was season of many thrilling moments; the Warriors played in 17 regular-season games decided by two points or less, six games decided by winning shots in the final three seconds, and seven comeback wins in which the Warriors had been behind by 15 or more points. Curry also made his first appearance in the 2014 NBA All-Star Game in 2014. Curry and Klay Thompson continued to set league records in three-point shooting. Curry, who finished the season with 261 threes, set an individual record for most three-pointers in a span of two seasons with 533, surpassing the previous mark of 478 set by Seattle Supersonic Ray Allen in 200405 and 200506. Together, Thompson and Curry combined for 484 threes on the year, besting by one the NBA record they had set the year before.
Answer this question based on the article: How many games had the Warriors lost during the season?
A: 31

Problem: The 1st Battalion, 24th Infantry Regiment was assigned to the 1st Brigade, 25th Infantry Division "Lightning" , and served in Iraq from October 2004 to October 2005. The battalion came home with 5 Silver Stars, 31 Bronze Stars, and 181 Purple Hearts and played a crucial role in the Battle of Mosul . During that battle, the battalion saw some of the heaviest, sustained fighting of the insurgency to date. The unit was also awarded with the Valorous Unit Award as being part of the 1st Brigade, 25th Infantry Division . The unit reflagged as the 3rd Squadron, 2nd Stryker Cavalry Regiment and moved to Vilseck, Germany. The 1st Battalion, 24th Infantry Regiment replaced the 2nd Battalion, 1st Infantry Regiment of the now decommissioned 172nd Stryker Brigade Combat Team as of 14 December 2006, In 2008-2009, 1-24 Infantry deployed to the Diyala Province, Iraq to FOB Warhorse and later to FOB Grizzly. In contrast to their previous deployment involving the Battle of Mosul, 1-24 sustained very few casualties, none of which came from sustained engagement with enemy forces. For their reconstruction and humanitarian efforts during this tour, the unit was awarded the Meritorious Unit Citation along with sister units in the 1st Brigade, 25th Infantry Division "Lightning".
Answer this question based on the article: How many years did the 1st Battalion serve in Iraq?
A:
1