a = int(input()) answer = 0 for i in range (a): answer += i+1 print(answer)