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