Input (grade 6): Hamada clan was on the shogunate's side in the Meiji Restoration, and the castle was burned down.
Output (grade 7): The Hamada clan was on the shogunate's side in the Meiji Restoration, and the castle was burned down.