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