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