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