Input (grade 13): In 1662, at the age of 39, Koxinga died of malaria, although speculations said that he died in a sudden fit of madness upon hearing the death of his father under the Qing.
Output (grade 8): Some people said that he died in a sudden fit of craziness when he heard about the death of his father under the Qing.