#include using namespace std; int main() { int num; cin >> num; cout << num * (num + 1) / 2 << endl; }