fn getline() -> String{ let mut __ret=String::new(); std::io::stdin().read_line(&mut __ret).ok(); return __ret; } fn main() { let s=getline(); let a:Vec<_>=s.trim().split(' ').collect(); let x:i32=a[0].parse().unwrap(); print!("{} ",(1..=x).sum::()); // let input = &args[0]; // let range = 1..=input.parse::().unwrap(); // // println!("{}", range.sum::()); }