135
#include <iostream>
 
using namespace std;
 
int main(void)
{
    long long n;
    long long res = 0;
 
    cin >> n;
    res = 1+n+n*(n-1)/2;
    cout << res;
 
    return 0;
}
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.