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