Input (grade 13): According to historical tradition, the Shang Dynasty followed the (possibly mythical) Xia Dynasty and preceded the Zhou Dynasty.
Output (grade 9): The Shang Dynasty (existed from 1600BC - 1046BC) was the second dynasty in China following the Xia Dynasty.