#include <iostream> using namespace std; int main() { unsigned int sum; while (cin>>sum ) { cout<<(sum+1)*sum/2<<endl<<endl; } return 0; }