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