#include using namespace std; int main(){ int n, i; int s = 0; cin >> n; for( i = n ; 0 < i ; i = i - 1 ){ s += i; } cout << s << endl; return 0; }