#include <bits/stdc++.h> using namespace std; int a; int main(){ cin>>a; cout<<a*(a+1)/2<<endl; }