print(sum(i for i in range(1, intput())))