// yukicoder My Practice // author: Leonardone @ NEETSDKASU fn main() { let mut stdin = String::new(); { use std::io; use std::io::Read; io::stdin().read_to_string(&mut stdin).expect("failed to read string"); } let mut stdin = stdin.split_whitespace(); macro_rules! get { () => ( stdin.next().unwrap().parse().unwrap() ) } let n: u32 = get!(); let mut sum: u64 = 0; for _ in 0..n { sum += get!(); } println!("{}", sum); }