pub fn sum_array(input: &[i32]) -> i32 { input.iter().sum() }