Input (grade 10): Under the name Saigon, it was the capital of the French colony of Cochinchina and later of the independent state of South Vietnam from 1955 to 1975.
Output (grade 8): From the independence, in 1954 to 1975, Saigon was the capital of the Republic of Vietnam.