// yukicoder My Practice // author: Leonardone @ NEETSDKASU use std::io; use std::io::Read; fn main() { let stdin = { let mut s = String::new(); io::stdin().read_to_string(&mut s).expect("failed to read string"); s.to_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); }