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