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 3): In 1662, at the age of 39, Koxinga died of malaria.