n = int(input()) sum = 0 for s in range(1, n + 1): sum += s print(sum)