var n : int64;
begin
	readln(n);
	writeln(n * (n+1) div 2);
end.

