N = 0 input_number = int(raw_input()) for i in range(1, input_number + 1): N += i print(N)