function sum(n, r)
	if n > 0 then return sum(n-1, r+n) end
	return r
end

local n = io.stdin:read("*n")
print(sum(n, 0))