total = 0 num = input() num = int(num) for num in range(1, num+1): total += num print(total)