# input x = int(input()) # output print(int((x/2)*(1+x)))