#include<iostream> using namespace std; int main() { int n,s=0; while(cin>>n){ for(int i=1;i<=n;i++) s=s+i; cout<<s<<endl; cout<<endl; s=0; } return 0; }