#include using namespace std; int main() { int n,sum; cin >> n; for (int i = 1; i < n + 1; i++) { sum += n*i; } cout << sum << endl; return 0; }