n = int(input()) s = 0 sum = 0 while s < n: s = s + 1 sum = sum + s print(sum)