Task: Question Generation
Input (English): Passage: Rutger Macklean (1742-1816) was a prominent captain, politician and land owner remembered for introducing agricultural reforms leading to more effective large-scale farming in Sweden. Ernst Wigforss (1881-1977) was Minister for Finance (Sweden) 1925-1926 and 1932-1949 and has been considered the foremost developer of the Swedish Social democracy. Östen Undén (1886-1974) was an internationally recognized professor of law and Minister for Foreign Affairs (Sweden) 1924-1926 and 1945-1962. Tage Erlander (1901-1985) was Swedens Prime Minister of Sweden 1945-1969, potentially a record of uninterrupted tenure in parliamentary democracies, and led his party through eleven elections. Ruth Bader Ginsburg (1933-) is a Associate Justice of the Supreme Court of the United States of the United States, the second female justice to be in this position. Ingvar Carlsson (1934-) served as Swedens prime minister 1986-1991 and 1994-1996 and as Swedens deputy prime minister 1982-1986. Rupiah Banda (1937-) was the president of Zambia 2008-2011 and its vice president 2006-2008. Leif Silbersky (1938-) is a notable lawyer and author famous for representing so called high-profile cases in Sweden. Marianne Lundius (1949-) is since 2010 the president of the Supreme Court of Sweden, the first female justice in this position. Utoni Nujoma (1952-) was Namibia minister of foreign affairs 2010-2012 and is since 2012 the countrys minister of justice.
Output (English): Which job did Ingvar Carlsson serve two different terms of, Swedens prime minister or Swedens deputy prime minister?