#include <stdio.h>
int sum(int n)
{
    if(n>1)
    return sum(n-1)+n;
    else
    return 1;
}
int main() 
{
    int n;
    scanf("%d",&n);
    printf("%d",sum(n));
    return 0;
}