Input: In 1745 three of the greatest battles of the war occurred: Hohenfriedberg, Kesselsdorf and Fontenoy. The formation of the Quadruple Alliance of Britain, Austria, the Dutch Republic and Saxony was concluded at Warsaw on 8 January 1745 by the Treaty of Warsaw. Twelve days later on 20 January 1745, the death of the Holy Roman Emperor, Charles VII, submitted the imperial title to a new election. Charles VII's son and heir, Maximilian III of Bavaria, was not even considered a candidate for the Imperial throne. The Bavarian army was again unfortunate. Caught in its scattered winter quarters , it was driven from point to point by a maneuver by the Austrian army under the joint command of Count Batthyány, Baron Bernklau and Count Browne. All Bavarian garrisons fled to the east. The Bavarian Army under the command of Count Törring was divided and paralyzed. The French in the area under Count Ségur marched to save the day. Count Sègur's force out-numbered the Austrian army under Count Batthyany, yet Sègur and the French army were defeated at the Battle of Pfaffenhofen. The young elector Maximilian III had to abandon Munich once more. The Peace of Füssen followed on 22 April 1745, by which Maximilian III secured his hereditary states on condition of supporting the candidature of the Grand-Duke Francis, consort of Maria Theresa. The "imperial" army ceased ipso facto to exist.

Question: Which happened first, the formation of the Quadruple Alliance of Britain, Austria, the Dutch Republic and Saxony, or the death of Charles VII?


Input: In Ancient Egypt the Bronze Age begins in the Protodynastic period, c. 3150 BC. The archaic early Bronze Age of Egypt, known as the Early Dynastic Period of Egypt, immediately follows the unification of Lower and Upper Egypt, c. 3100 BC. It is generally taken to include the First and Second Dynasties, lasting from the Protodynastic Period of Egypt until about 2686 BC, or the beginning of the Old Kingdom. With the First Dynasty, the capital moved from Abydos to Memphis with a unified Egypt ruled by an Egyptian god-king. Abydos remained the major holy land in the south. The hallmarks of ancient Egyptian civilization, such as art, architecture and many aspects of religion, took shape during the Early Dynastic period. Memphis in the Early Bronze Age was the largest city of the time.The Old Kingdom of the regional Bronze Age is the name given to the period in the 3rd millennium BC when Egypt attained its first continuous peak of civilization in complexity and achievement - the first of three "Kingdom" periods, which mark the high points of civilization in the lower Nile Valley . The First Intermediate Period of Egypt, often described as a "dark period" in ancient Egyptian history, spanned about 100 years after the end of the Old Kingdom from about 2181 to 2055 BC. Very little monumental evidence survives from this period, especially from the early part of it. The First Intermediate Period was a dynamic time when the rule of Egypt was roughly divided between two competing power bases: Heracleopolis in Lower Egypt and Thebes in Upper Egypt. These two kingdoms would eventually come into conflict, with the Theban kings conquering the north, resulting in the reunification of Egypt under a single ruler during the second part of the 11th Dynasty.

Question: Where was the First Dynasty capital located last, Abydos or Memphis?


Input: As of the census of 2000, there were 6,299 people, 2,519 households, and 1,592 families residing in the city. The population density was 914.5 persons per square mile (353.0/km²). There were 2,702 housing units at an average density of 392.3 per square mile (151.4/km²). The racial makeup of the city was 75.33% White (U.S. Census), 22.38% African American (U.S. Census) or Race (United States Census), 0.24% Native American (U.S. Census), 0.57% Asian (U.S. Census), 0.08% Pacific Islander (U.S. Census), 0.24% from Race (United States Census), and 1.16% from two or more races. Hispanic (U.S. Census) or Latino (U.S. Census) of any race were 0.89% of the population.

Question: How many more people are there than housing units?


Input: Richard arrived at Acre on 8 June 1191 and immediately began supervising the construction of siege weapons to assault the city, which was captured on 12 July. Richard, Philip, and Leopold quarrelled over the spoils of the victory. Richard cast down the German standard from the city, slighting Leopold. In the struggle for the kingship of Jerusalem, Richard supported Guy, while Philip and Leopold supported Conrad, who was related to them both. It was decided that Guy would continue to rule but that Conrad would receive the crown upon his death. Frustrated with Richard , Philip and Leopold took their armies and left the Holy Land in August. Philip left 7,000 French crusaders and 5,000 silver marks to pay them. On 18 June 1191, soon after Richard's arrival at Acre, he sent a messenger to Saladin requesting a face to face meeting. Saladin refused, saying that it was customary for kings to meet each other only after a peace treaty had been agreed, and thereafter "it is not seemly for them to make war upon each other". The two therefore never met, although they did exchange gifts and Richard had a number of meetings with Al-Adil, Saladin's brother. Saladin tried to negotiate with Richard for the release of the captured Muslim soldier garrison, which included their women and children. On 20 August, however, Richard thought Saladin had delayed too much and had 2,700 of the Muslim prisoners decapitated in full view of Saladin's army, which tried unsuccessfully to rescue them. Saladin responded by killing all of the Christian prisoners he had captured.

Question:
How many months after Richard's arrival was the city captured?