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