#include <iostream>
using namespace std;

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