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