input_line = int(input()) a = 0 for i in range(1, input_line+1): a += i print(a)