#include<bits/stdc++.h>
using namespace std;
int main(){
int n; cin >> n;
cout << ((n + 1) * n) / 2;
return 0;
}
I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCl7CglpbnQgbjsJY2luID4+IG47Cgljb3V0IDw8ICgobiArIDEpICogbikgLyAyOwoJCglyZXR1cm4gMDsKfQo=