Input (grade 6): In the Seven-Year War, Japan, under Hideyoshi, invaded Korea in 1592 and 1598.
Output (grade 7): Japan is united by Toyotomi Hideyoshi Seven-Year War - Japan invades Korea in 1592 and 1597.