N = input() math = 0 N = int(N) for i in range(N): math = math + N N = N - 1 print(math)