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