#include using namespace std; int main(int argc, char const* argv[]) { int N, sum = 0; cin >> N; for (int i = 0; i < N; i++) { sum += i+1; } cout << sum << endl; return 0; }