#include<bits/stdc++.h> using namespace std; int main(){ long long n; cin >> n; cout << (1+n)*n/2+1; return 0; }