N = input() a = 0 for v in range(1, N + 1): a += v print(a)