ipt = input.first() print(str(sum(range(ipt+1))))