#include<iostream>
using namespace std;
int main()
{
long long n;
cin>>n;
cout<<(1+n)*n/2;//等差数列求和
return 0;
}
#include<iostream>
using namespace std;
int main()
{
long long n;
cin>>n;
cout<<(1+n)*n/2;//等差数列求和
return 0;
}