#include<iostream>
#include<cstdio>
using namespace std;

int fun(int x){
    int res=0;
    while(x!=0){
        res+=x--;
    }
    return res;
}

int main(){
    int n;
    scanf("%d",&n);
    printf("%d\n",fun(n));
    return 0;
}