Task: Question Answering
Input (English): Passage: The president of Nauru is Baron Waqa, who heads a 19-member unicameral parliament. The country is a member of the United Nations, the Commonwealth of Nations, the Asian Development Bank and the Pacific Islands Forum. Nauru also participates in the Commonwealth and Olympic Games. Recently Nauru became a member country of the International Renewable Energy Agency (IRENA). The Republic of Nauru became the 189th member of the International Monetary Fund in April 2016.
Nauru is a republic with a parliamentary system of government. The president is both head of state and head of government. A 19-member unicameral parliament is elected every three years. The parliament elects the president from its members, and the president appoints a cabinet of five to six members.Nauru does not have any formal structure for political parties, and candidates typically stand for office as independents; fifteen of the 19 members of the current Parliament are independents. Four parties that have been active in Nauruan politics are the Nauru Party, the Democratic Party, Nauru First and the Centre Party. However, alliances within the government are often formed on the basis of extended family ties rather than party affiliation.From 1992 to 1999, Nauru had a local government system known as the Nauru Island Council (NIC). This nine-member council was designed to provide municipal services. The NIC was dissolved in 1999 and all assets and liabilities became vested in the national government. Land tenure on Nauru is unusual: all Nauruans have certain rights to all land on the island, which is owned by individuals and family groups. Government and corporate entities do not own any land, and they must enter into a lease arrangement with landowners to use land. Non-Nauruans cannot own land on the island.Nauru had 17 changes of administration between 1989 and 2003. Bernard Dowiyogo died in office in March 2003 and Ludwig Scotty was elected as the president, later being re-elected to serve a full term in October 2004. Following a vote of no confidence on 19 December 2007, Scotty was replaced by Marcus Stephen. Stephen resigned in November 2011, and Freddie Pitcher became President. Sprent Dabwido then filed a motion of no confidence in Pitcher, resulting in him becoming president. Following parliamentary elections in 2013, Baron Waqa was elected president. 
Question: What is the full name of the person that was elected president in October 2004?
Output (English): Ludwig Scotty.