#define _USE_MATH_DEFINES #include //cin, cout #include //vector #include //sort,min,max,count #include //string,getline #include //fixed #include //setprecision #include //swap #include //abs(int) #include //sqrt #include //stringstream,getline #include //ceil,M_PI #include //gcd using namespace std; int main() { int N; cin >> N; int ans = 0; for (int i = 1; i <= N; i++) { ans += i; } cout << ans << endl; return 0; }