ipt = input().split()[0] sum = sum(range(int(ipt)+1)) print(str(sum))