#include <stdio.h>

int main() {
    long n = 0;
    scanf("%ld",&n);
    printf("%ld",n*(n+1)/2);
    return 0;
}