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