#include <stdio.h>

int main() {
    int n;
    scanf("%d", &n);
    
    // 高斯求和
    printf("%d", ((n + 1) * n) / 2);
    return 0;
}