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