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