use proconio::input; fn main () { input! { n: usize, a: [i128; n], } println!("{}", a.iter().sum::()); }