#include<iostream>
using namespace std;
int main()
{
    int n;
    cin>>n;
    sum=n*(n+1)/2;
    cout<<sum;
    return 0;
}