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