num = int(input()) result = 0 for i in range(num+1): result += i print(result)