n = input() i = 0 for a in range(int(n)+1): i += a print(i)