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