Problem: In the following years, the Luneburg countryside was devastated by numerous battles and campaigns. These, however, were only partly due to the succession conflict - in addition there was wanton arson and looting by robber barons. In addition to the Ascanians and the Welfs, foreign towns and princes were increasingly involved as allies. Thus Magnus entered into a military alliance with the Danish king. In 1373, at an specially arranged meeting in Pirna, an imperial mediation attempt took place. Since Magnus did not appear, however, the Imperial Ban against him was renewed and fighting continued. In 1373, Duke Magnus was killed in a battle at Leveste on the Deister on 25 July 1373. After his death, a treaty - the Reconciliation of Hanover - was agreed between Wenceslas and his nephew Albert, on the one hand, and the widow of Magnus II and her sons on the other. According to the treaty, the estates of the Principality were to pay homage both to the Welfs and to the Ascanians, and the two noble houses would govern the state alternately. Initially, the land would be given to the two Ascanians from Wittenberg, and after their death it would go to the sons of the fallen Duke Magnus II. After their death, rule of the Principality was to revert to the Ascanians. In order to underpin the agreement, in 1374 Albert of Saxe-Luneburg married Catharina, the widow of Magnus II. The two still underage sons were also married in 1386 to members of the Ascanian house. Frederick of Brunswick-Luneburg married Anna of Saxe-Wittenberg and Bernard of Brunswick-Luneburg married Margareta of Saxony, both women were daughters of Wenceslas. The treaty also envisaged the creation of a statutory body representing the estates, which was to supervise the treaty.

How many years Duke Magnus killed in battle until the rule of Principality was revert to the Ascanians?
Answer: 1

Q: Rajasinghe II, the king of Kandy, made a treaty with the Dutch in 1638 to get rid of the Portuguese who ruled most of the coastal areas of the island. The main conditions of the treaty were that the Dutch were to hand over the coastal areas they had captured to the Kandyan king in return for a Dutch trade monopoly over the island. The agreement was breached by both parties. The Dutch captured Colombo in 1656 and the last Portuguese strongholds near Jaffnapatnam in 1658. By 1660 they controlled the whole island except the land-locked kingdom of Kandy. The Dutch persecuted the Catholics and the remaining Portuguese settlers but left Buddhists, Hindus and Muslims alone. The Dutch levied far heavier taxes on the people than the Portuguese had done. A legacy of the Dutch period in Ceylon are the Dutch Burghers, a people of mixed Dutch and local origin. A later definition of the Burgher people of Ceylon was handed down in 1883 by the Chief Justice of Ceylon, Sir Richard Ottley.
How many years did it take after the capture of Colombo for the Dutch to control the entire island?
A: 4

Problem: The Port of Charleston, owned and operated by the South Carolina Ports Authority, is one of the largest ports in the United States, ranked in the top 25 by containerized cargo volume in 2014. It consists of five terminals, and a sixth terminal was to open in 2018. Despite occasional labor disputes, the port is ranked number one in customer satisfaction across North America by supply chain executives. Port activity at the two terminals located in the city of Charleston is one of the city's leading sources of revenue, behind tourism. Today, the Port of Charleston boasts the deepest water in the southeast region and regularly handles ships too big to transit through the Panama Canal. A harbor-deepening project is currently underway to take the Port of Charleston's entrance channel to 54 feet and harbor channel to 52 feet at mean low tide. With an average high tide of 6 feet, the depth clearances will become 60 feet and 58 feet, respectively. Union Pier, in the city of Charleston, is a cruise ship passenger terminal which hosts numerous cruise departures annually. In May 2010, the Carnival Fantasy was permanently stationed in Charleston, offering weekly cruises to the Bahamas and Key West, eventually to include Bermuda. With the addition of the weekly Carnival Fantasy sailings, Union Terminal hosted 67 embarkations and ports of call in 2010. With the closure of the Naval Base and the Charleston Naval Shipyard in 1996, Detyens, Inc. signed a long term lease. With three dry docks, one floating dock, and six piers, Detyens Shipyard, Inc. is one of the largest commercial marine repair facilities on the East Coast. Projects include military, commercial, and cruise ships.
Answer this question based on the article: How many total dry docks, floating docks and piers does Detyens Shipyard have all together?
A: 10

question: MIT was elected to the Association of American Universities in 1934 and remains a research university with a very high level of research activity; research expenditures totaled $718.2 million in 2009. The federal government was the largest source of sponsored research, with the Department of Health and Human Services granting $255.9 million, United States Department of Defense $97.5 million, United States Department of Energy $65.8 million, National Science Foundation $61.4 million, and NASA $27.4 million. MIT employs approximately 1300 researchers in addition to faculty. In 2011, MIT faculty and researchers disclosed 632 inventions, were issued 153 patents, earned $85.4 million in cash income, and received $69.6 million in royalties. Through programs like the Deshpande Center, MIT faculty leverage their research and discoveries into multi-million-dollar commercial ventures.
Answer this question: How many millions of dollars did the government put out for sponsored research total?
answer:
508