sum = 0 for i in range(int(input())+1): sum += i print(sum)