first = input() suuzi = int(first) souwa = 0 for i in range(suuzi+1): souwa += i print(souwa)