#include <bits/stdc++.h> using namespace std; int main () { int i,a; cin>>a; for( i=0;i<=a;i++){ i=(1+a)*a/2; cout<<i; } return 0;}