Task: Text Categorization
Input (English): The last "ancient" time period of this nation is named after the burial mounds, or kofun, of that time period. The Gempei War ended the Heian period of this country. Francis Xavier, a Jesuit missionary, and Commodore Matthew Perry came to this country during the Tokugawa Shogunate. For 10 points, name this country formerly ruled by Emperor Hirohito where two atomic bombs were dropped.
Output (English): History