Input (grade 11): The Federation's president was Modibo Keita, and its government was based in Dakar.
Output (grade 11): The Federation's prime minister was Modibo Keita, and the government was in Dakar.