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