lista = [] N = input() for i in range(N): lista.append(i) wa = len(lista) * (lista[1] + lista[i]) / 2 print(wa)