# input x = int(input()) s = 0 # process for i in range(x+1): s += i print(s)