n = int(input()) total = sum([n for n in range(1, n + 1)]) print(total)