numbers = int(input())+1 sum = 0 for number in range(1, numbers): sum += number print(sum)