#include #define rep(i,n) for (ll i = 0; i < (n); ++i) #define All(v) (v).begin(),(v).end() #define rall(v) (v).rbegin(),(v).rend() //reverse #define strall(v) (v).cbegin(),(v).cend() //const_itterator #define IN(a, b, x) (a<=x&&x; using Graph = vector>; template using min_priority_queue = priority_queue, greater>; template> bool chmax(t& xmax, const u& x, Comp comp={}) { if(comp(xmax, x)) { xmax = x; return true; } return false;} template> bool chmin(t& xmin, const u& x, Comp comp={}) { if(comp(x, xmin)) { xmin = x; return true;} return false;} const int INF = 1e9; const ll infl = ll(1e18)+5; /* *ios::sync_with_stdio(false); *cin.tie(0); */ int main(){ int N; cin >> N; cout << N*(N+1) /2 << endl; }