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