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