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