#include #define rep(i,k,n) for(int i=k;i=0;i--) #define MOD 1e9+7; #define EPS 1e-8 #define INF 1e9+10 typedef long long ll; using namespace std; int main() { ll N; cin >> N; cout << N*(N+1)/2 << endl; return 0; }