Input (grade 12): Beijing (also known as Peking) is a metropolis in northern China and the capital of the People's Republic of China.
Output (grade 5): Beijing is the capital of the People's Republic of China. The city used to be known as Peking. It is located in the northern parts of the country.