use proconio::input; fn main() { input! { n: i32, } println!("{}", n * (n + 1) / 2); }