fn main() { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); let n = s.trim().parse::().unwrap() + 1; println!("{}", (n * n + n) / 2) }