#include <iostream> using namespace std; int main() { int t, n; while (cin >> n) { cout << (n + 1)*n / 2<<endl; } return 0; }