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