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