x = input() y = 0 for i in range(1, x + 1): y += i print(y)