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