#include using namespace std; using ll = long long; int main() { ll N; cin >> N; cout << (N + 1) * N / 2 << endl; }