#include <iostream> using namespace std; int main() { unsigned int n; while (cin>>n) { cout<<(n+1)*n/2<<endl<<endl; } return 0; } //没出来结果的注意下整形n的无符号