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