#include using namespace std; int main () { int N,ans; ans = 0; cin >> N; for (int n = 1;n <= N;n ++) { ans = ans + n; } cout << ans; return 0; }