#include using namespace std; using i64 = long long; #define endl "\n" int main() { i64 N; cin >> N; cout << N * (N + 1) / 2 << endl; return 0; }