Input: Article: Administratively, Portugal is divided into 308 municipalities (Portuguese: municipios or concelhos), which after a reform in 2013 are subdivided into 3,092 civil parishes (Portuguese: freguesia). Operationally, the municipality and civil parish, along with the national government, are the only legally identifiable local administrative units identified by the government of Portugal (for example, cities, towns or villages have no standing in law, although may be used as catchment for the defining services). For statistical purposes the Portuguese government also identifies NUTS, inter-municipal communities and informally, the district system, used until European integration (and being phased-out by the national government).[original research?] Continental Portugal is agglomerated into 18 districts, while the archipelagos of the Azores and Madeira are governed as autonomous regions; the largest units, established since 1976, are either mainland Portugal (Portuguese: Portugal Continental) and the autonomous regions of Portugal (Azores and Madeira).

Now answer this question: How many municipalities is Portugal divided into?

Output: 308

Input: Article: On January 27, 1967, the same day the US and USSR signed the Outer Space Treaty, the crew of the first manned Apollo mission, Command Pilot Virgil "Gus" Grissom, Senior Pilot Edward H. White, and Pilot Roger Chaffee, were killed in a fire that swept through their spacecraft cabin during a ground test, less than a month before the planned February 21 launch. An investigative board determined the fire was probably caused by an electrical spark, and quickly grew out of control, fed by the spacecraft's pure oxygen atmosphere. Crew escape was made impossible by inability to open the plug door hatch cover against the greater-than-atmospheric internal pressure. The board also found design and construction flaws in the spacecraft, and procedural failings, including failure to appreciate the hazard of the pure-oxygen atmosphere, as well as inadequate safety procedures. All these flaws had to be corrected over the next twenty-two months until the first piloted flight could be made. Mercury and Gemini veteran Grissom had been a favored choice of Deke Slayton, NASA's Director of Flight Crew Operations, to make the first piloted landing.

Now answer this question: Who were the three people who died on the first Apollo mission before launch?

Output: Command Pilot Virgil "Gus" Grissom, Senior Pilot Edward H. White, and Pilot Roger Chaffee

Input: Article: Some reordering of the Thuringian states occurred during the German Mediatisation from 1795 to 1814, and the territory was included within the Napoleonic Confederation of the Rhine organized in 1806. The 1815 Congress of Vienna confirmed these changes and the Thuringian states' inclusion in the German Confederation; the Kingdom of Prussia also acquired some Thuringian territory and administered it within the Province of Saxony. The Thuringian duchies which became part of the German Empire in 1871 during the Prussian-led unification of Germany were Saxe-Weimar-Eisenach, Saxe-Meiningen, Saxe-Altenburg, Saxe-Coburg-Gotha, Schwarzburg-Sondershausen, Schwarzburg-Rudolstadt and the two principalities of Reuss Elder Line and Reuss Younger Line. In 1920, after World War I, these small states merged into one state, called Thuringia; only Saxe-Coburg voted to join Bavaria instead. Weimar became the new capital of Thuringia. The coat of arms of this new state was simpler than they had been previously.

Now answer this question: Which kingdom acquired some Thuringian territory?

Output:
the Kingdom of Prussia