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 12): The first period of Japans history is its prehistory period, that is, before the written history of Japan.