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