Input (grade 13): The first known written reference to Japan is in the brief information given in Twenty-Four Histories, a collection of Chinese historical texts, in the 1st century AD.
Output (grade 10): In the history of Japan, the period from the mid-3rd century till around 710 is known as the Yamato period.