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