#include "bits/stdc++.h" using namespace std; using ll = long long; using ld = long double; using pii = pair; using vi = vector; using vl = vector; ld EPS = 1e-12; int INF = numeric_limits::max() / 2; int MOD = 1e9 + 7; #define rep(i,n) for(int i = 0; i < n; i++) #define all(obj) (obj).begin(), (obj).end() #define debug(x) cerr << #x << ": " << x << '\n' int main(){ int n; cin >> n; int ans = 0; rep(i,n+1){ ans += i; } cout << ans << endl; return 0; }