#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int N, total = 0, Z = 0;
  cin >> N;
  for (int i = 1; i < N; i++) {
    total += (N - i) * i;
  }
  cout << total + N;
  return 0;
}
