print((function (n) return n*(n+1)/2 end)(io.stdin:read("*n")))