Question: Who was the first president of the country that contains Galafi village?

full_context: Document 1: Djibouti: Djibouti ( (listen) jih-BOO-tee; Afar: Yibuuti, Arabic: جيبوتي‎ Jībūtī, French: Djibouti, Somali: Jabuuti, officially the Republic of Djibouti) is a country located in the Horn of Africa. It is bordered by Eritrea in the north, Ethiopia in the west and south, and Somalia in the southeast. The remainder of the border is formed by the Red Sea and the Gulf of Aden at the east. Djibouti occupies a total area of 23,200 km2 (8,958 sq mi). The state of Djibouti is predominantly inhabited by two ethnic groups, the Somali and the Afar people, the Somalis being the major ethnic group of the country.
Document 2: Central African Republic: By 1990, inspired by the fall of the Berlin Wall, a pro-democracy movement arose. Pressure from the United States, France, and from a group of locally represented countries and agencies called GIBAFOR (France, the USA, Germany, Japan, the EU, the World Bank, and the UN) finally led Kolingba to agree, in principle, to hold free elections in October 1992 with help from the UN Office of Electoral Affairs. After using the excuse of alleged irregularities to suspend the results of the elections as a pretext for holding on to power, President Kolingba came under intense pressure from GIBAFOR to establish a "Conseil National Politique Provisoire de la République" (Provisional National Political Council, CNPPR) and to set up a "Mixed Electoral Commission", which included representatives from all political parties.[citation needed]
Document 3: Republic of the Congo: On March 27, 2015 Sassou Nguesso announced that his government would hold a referendum to change the country's 2002 constitution and allow him to run for a third consecutive term in office. On October 25 the government held a referendum to allow Sassou Nguesso to run in the next election. The government claimed that the proposal as approved by 92 percent of voters with 72 percent of eligible voters participating. The opposition, who had boycotted the referendum claimed that the government's statistics were false and that the vote was a sham.
Document 4: Eritrea: In the 1950s, the Ethiopian feudal administration under Emperor Haile Selassie sought to annex Eritrea and Italian Somaliland. He laid claim to both territories in a letter to Franklin D. Roosevelt at the Paris Peace Conference and at the First Session of the United Nations. In the United Nations, the debate over the fate of the former Italian colonies continued. The British and Americans preferred to cede all of Eritrea except the Western province to the Ethiopians as a reward for their support during World War II. The Independence Bloc of Eritrean parties consistently requested from the UN General Assembly that a referendum be held immediately to settle the Eritrean question of sovereignty.
Document 5: Garbi (mountain): Garbi is a mountain in the western part of the Tadjourah Region in Djibouti. It is located about east of Djibouti City. With a mean height of 1680 metres (5,512 ft), is the third highest point in Djibouti.
Document 6: Guelile: Guelile () is a town in southern Djibouti. It is situated about southwest of Djibouti City and half a km south of the border with Ethiopia. It is the official border crossing into neighbouring Ethiopia by road and by rail. The area is served by a border post as well as by a train station at the Ethio-Djibouti Railways. Since 2016, it serves as the eastern terminus of the Ehio-Djibouti Railways and is the only remaining still operational train station along this railway in Djibouti. Guelile therefore serves as a commercial hub for the movement of goods to and from Djibouti City, Dire Dawa, Dewele, Ayesha and the surrounding area.
Document 7: National Highway 6 (Djibouti): National Highway 6 is a national highway in southwestern Djibouti. The highway begins at , at a junction with National Highway 1 near Dikhil. It passes through the town of As Eyla and ends at the village of Kouta Bouyya
Document 8: Republic of the Congo: Following the revision of the French constitution that established the Fifth Republic in 1958, the AEF dissolved into its constituent parts, each of which became an autonomous colony within the French Community. During these reforms, Middle Congo became known as the Republic of the Congo in 1958 and published its first constitution in 1959. Antagonism between the pro-Opangault Mbochis and the pro-Youlou Balalis resulted in a series of riots in Brazzaville in February 1959, which the French Army subdued.
Document 9: Balho: Balho () is a town located in the Tadjourah region of Djibouti. It is situated on the N11 highway. It is situated about 32 kilometres (20 miles) west of Dorra and 6 km (4 mi) east of the border with Ethiopia.
Document 10: Guinea-Bissau: In June 2005, presidential elections were held for the first time since the coup that deposed Ialá. Ialá returned as the candidate for the PRS, claiming to be the legitimate president of the country, but the election was won by former president João Bernardo Vieira, deposed in the 1999 coup. Vieira beat Malam Bacai Sanhá in a runoff election. Sanhá initially refused to concede, claiming that tampering and electoral fraud occurred in two constituencies including the capital, Bissau.
Document 11: National Highway 2 (Djibouti): National Highway 2 is a major national highway of Djibouti. It connects Djibouti City to Loyada and the Somali border, where it continues to Zeila. It passes through the city and for much of its length passes along the coast of Djibouti on the way to Loyada.
Document 12: Somalis: Somali people in the Horn of Africa are divided among different countries (Somalia, Djibouti, Ethiopia, and northeastern Kenya) that were artificially and some might say arbitrarily partitioned by the former imperial powers. Pan-Somalism is an ideology that advocates the unification of all ethnic Somalis once part of Somali empires such as the Ajuran Empire, the Adal Sultanate, the Gobroon Dynasty and the Dervish State under one flag and one nation. The Siad Barre regime actively promoted Pan-Somalism, which eventually led to the Ogaden War between Somalia on one side, and Ethiopia, Cuba and the Soviet Union on the other.
Document 13: Somalis: British Somaliland became independent on 26 June 1960 as the State of Somaliland, and the Trust Territory of Somalia (the former Italian Somaliland) followed suit five days later. On 1 July 1960, the two territories united to form the Somali Republic, albeit within boundaries drawn up by Italy and Britain. A government was formed by Abdullahi Issa Mohamud and Muhammad Haji Ibrahim Egal other members of the trusteeship and protectorate governments, with Haji Bashir Ismail Yusuf as President of the Somali National Assembly, Aden Abdullah Osman Daar as the President of the Somali Republic and Abdirashid Ali Shermarke as Prime Minister (later to become President from 1967 to 1969). On 20 July 1961 and through a popular referendum, the people of Somalia ratified a new constitution, which was first drafted in 1960. In 1967, Muhammad Haji Ibrahim Egal became Prime Minister, a position to which he was appointed by Shermarke. Egal would later become the President of the autonomous Somaliland region in northwestern Somalia.
Document 14: Somalis: A referendum was held in neighboring Djibouti (then known as French Somaliland) in 1958, on the eve of Somalia's independence in 1960, to decide whether or not to join the Somali Republic or to remain with France. The referendum turned out in favour of a continued association with France, largely due to a combined yes vote by the sizable Afar ethnic group and resident Europeans. There was also widespread vote rigging, with the French expelling thousands of Somalis before the referendum reached the polls. The majority of those who voted no were Somalis who were strongly in favour of joining a united Somalia, as had been proposed by Mahmoud Harbi, Vice President of the Government Council. Harbi was killed in a plane crash two years later. Djibouti finally gained its independence from France in 1977, and Hassan Gouled Aptidon, a Somali who had campaigned for a yes vote in the referendum of 1958, eventually wound up as Djibouti's first president (1977–1991).
Document 15: Galafi: Galafi (), also known as Gâlâfi, is a village in Djibouti. Galafi is the official border crossing from Djibouti into Ethiopia. Situated on the border with Ethiopia, it is in the north west of Dikhil. It lies on the National Highway 1. It is located some west of the national capital, Djibouti City. Nearby towns and villages include Yoboki (40 km), Dikhil (98 km), Semera (114 km), Bure (157 km) and Elidar (70 km).
ground_truth: Hassan Gouled Aptidon
sub_queries: Galafi >> country Answer: Djibouti
Who was the first president of Djibouti ? Answer: Hassan Gouled Aptidon