#include <iostream>
using namespace std;

int main()
{
    double n;
    while (cin >> n) {
        if (n == 1) cout << n*2 << endl; 
        else cout << (int)((1+n)*(n/2)+1) << endl;
    }

    return 0;
}