Input (grade 7): The Republic of Djibouti gained its independence from France on June 27, 1977.
Output (grade 5): Djibouti gained its independence on June 27, 1977.