#include <bits/stdc++.h>
using namespace std;
int a[150],sum;
int main(){
ios::sync_with_stdio(false);
cin.tie(0),cout.tie(0);
int n;
cin>>n;
for(int i=0;i<n;i++){
sum+=(n-i)*(i+1);
}
cout<<sum;
return 0;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CmludCBhWzE1MF0sc3VtOwppbnQgbWFpbigpewoJaW9zOjpzeW5jX3dpdGhfc3RkaW8oZmFsc2UpOwoJY2luLnRpZSgwKSxjb3V0LnRpZSgwKTsKCWludCBuOwoJY2luPj5uOwoJZm9yKGludCBpPTA7aTxuO2krKyl7CgkJc3VtKz0obi1pKSooaSsxKTsKCX0KCWNvdXQ8PHN1bTsKCXJldHVybiAwOwp9