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