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