Input (grade 12): Paraguay fought the War of the Triple Alliance against Brazil, Argentina and Uruguay, and was defeated in 1870 after five years of the bloodiest war in South America.
Output (grade 9): From 1865-1870 Paraguay lost land and most of its male population in the War of the Triple Alliance against Brazil, Argentina, and Uruguay.