Input (grade 7): After the war, Dönitz was convicted of war crimes at the Nuremberg Trials and served ten years in prison.
Output (grade 3): After the war Dönitz was charged and convicted of "crimes against peace" and "war crimes" at the Nuremberg Trials. He served ten years in prison.