Input (grade 6): Of the 2.5 million men who served in the Union Army during the war, approximately 9.5% were African American, about 360,000 died - in combat, from injuries sustained in combat, disease or other causes - and 280,000 were wounded.
Output (grade 4): Of the 2.5 million men who served in the Union Army during the war, about 9.5% were African American, about 360,000 died from being hurt in battle, disease, and 280,000 were wounded.