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