Input (grade 10): Emperor Go-Komatsu abdicates and Emperor Shoko accedes to the throne of Japan.
Output (grade 4): End of the reign of Emperor Go-Komatsu of Japan.