#include<iostream> using namespace std; int main(){ int n,t; cin>>n; t=n*(1+n)/2; cout<<t; return 0; }