#include<iostream> using namespace std; int main(){ long long int m, s = 0; while(cin>>m){ s = ((1 + m) * m) / 2; cout<<s<<endl<<endl; } return 0; }