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