N = int(input().strip()) S = 0 for i in range(N+1): S+=i print(S)